Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

101 Visual Basic and C# Code Samples for Visual Studio .Net

Status
Not open for further replies.
sir ask lang pno ba ang proper installation ng VB sa Win7?? thanks!
 
Salamat po d2 ts, laking tulong po to sakin sa ngaun, bukas at sa hinaharap..charoot...tnx po..
 
Last edited:
Sir may sample program po ba ng ASP.NET using VB??., thanks ng sobra kung meron para maaral namin.,
 
Hello po,pwede paturo po or pahingi ng codes:pray: sa visual studio.net?2010 version po ang gamit ko
ganito po kasi yun,project ko po is sales and inventory system,yung system ko po is almost done na,kaso di ko po alam kung panu po yung ganito :
example po may bumili ng item,and nag add pa siya ng item bali 2 items na,at gusto ko po sana ma add lang yung item and saka ma'break lang yung adding of items kung i hit print(bali ito yung para sa reciept),help po?:pray: :help:
tsaka din po paturo kung panu po e'send to print yung item na binili(bali sa recebo na po ito) :pray::pray::pray::pray::pray:

PS:
Thanks po in advance
 
sir asklang about sa simpleng vb . bali gagawa po ako para pang inject ng files sa isang game . ang hindi ko lang po alam kung paanu i inject mismo sa game ung .dll files . database lang po kasi ang tinuro sa skul namin . sana po may makatulong . SALAMat!
 
Hello po,pwede paturo po or pahingi ng codes:pray: sa visual studio.net?2010 version po ang gamit ko
ganito po kasi yun,project ko po is sales and inventory system,yung system ko po is almost done na,kaso di ko po alam kung panu po yung ganito :
example po may bumili ng item,and nag add pa siya ng item bali 2 items na,at gusto ko po sana ma add lang yung item and saka ma'break lang yung adding of items kung i hit print(bali ito yung para sa reciept),help po?:pray: :help:
tsaka din po paturo kung panu po e'send to print yung item na binili(bali sa recebo na po ito) :pray::pray::pray::pray::pray:

PS:
Thanks po in advance


gawin mo pag magadd ulit ng item yung customer. sa akin kasi gamit ko datatable. pag nag add kasi siya ng another item, kung parehas yung item niya. gagawa ako ng temp datatable para macheck ko kung may kaparehas siyang product. tapos pag na add ko na siya sa temp datatable ko then load ko na siya sa gridview then equal ko siya sa previous na datatable ko para updated siya. tungkol naman sa pag print ng receipt. gawa ka lang ng generic sa printer tpos call mo siya. kailangan 40 char lang kc yung receipt.
 
Sir, maya alam po ba kayong games na naproduce sa visual studio? reply po. salamat
 
Help naman po pwede nyo po ba ako matulungan kung panu to paganahin kapag gagamitan na ng JOptionPane plssss bale ok na po itong program na ito aayusin nalang po


import java.util.*;

public class LinkedListExample{
public static void main(String[] args) {

LinkedList <Integer>list = new LinkedList<Integer>();
int num1 = 11, num2 = 22, num3 = 33, num4 = 44;
int size;
Iterator iterator;
//Adding data in the list
list.add(num1);
list.add(num2);
list.add(num3);
list.add(num4);
size = list.size();
System.out.print( "Linked list data: ");
//Create a iterator
iterator = list.iterator();
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
//Check list empty or not
if (list.isEmpty()){
System.out.println("Linked list is empty");
}
else{
System.out.println( "Linked list size: " + size);
}
System.out.println("Adding data at 1st location: 55");
//Adding first
list.addFirst(55);
System.out.print("Now the list contain: ");
iterator = list.iterator();
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
System.out.println("Now the size of list: " + list.size());
System.out.println("Adding data at last location: 66");
//Adding last or append
list.addLast(66);
System.out.print("Now the list contain: ");
iterator = list.iterator();
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
System.out.println("Now the size of list: " + list.size());
System.out.println("Adding data at 3rd location: 99");
//Adding data at 3rd position
list.add(2,99);
System.out.print("Now the list contain: ");
iterator = list.iterator();
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
System.out.println("Now the size of list: " + list.size());
//Retrieve first data
System.out.println("First data: " + list.getFirst());
//Retrieve lst data
System.out.println("Last data: " + list.getLast());
//Retrieve specific data
System.out.println("Data at 4th position: " + list.get(3));
//Remove first
int first = list.removeFirst();
System.out.println("Data removed from 1st location: " + first);
System.out.print("Now the list contain: ");
iterator = list.iterator();
//After removing data
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
System.out.println("Now the size of list: " + list.size());
//Remove last
int last = list.removeLast();
System.out.println("Data removed from last location: " + last);
System.out.print("Now the list contain: ");
iterator = list.iterator();
//After removing data
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
System.out.println("Now the size of list: " + list.size());
//Remove 2nd data
int second = list.remove(1);
System.out.println("Data removed from 2nd location: " + second);
System.out.print("Now the list contain: ");
iterator = list.iterator();
//After removing data
while (iterator.hasNext()){
System.out.print(iterator.next()+" ");
}
System.out.println();
System.out.println("Now the size of list: " + list.size());
//Remove all
list.clear();
if (list.isEmpty()){
System.out.println("Linked list is empty");
}
else{
System.out.println( "Linked list size: " + size);
}
}

}



salamat po sa makaka tulong sakit napo ng ulo ko
 
di ma download TS :



Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
 
Status
Not open for further replies.
Back
Top Bottom