Forum: VB.NET Apr 7th, 2009 |
| Replies: 2 Views: 342 Lol.... :D In terms of performance and efficiency? |
Forum: VB.NET Apr 6th, 2009 |
| Replies: 2 Views: 342 Hi,
If i need to use many same components in a window form (let say 20 picture boxes or 20 text boxes), which of the method below is more efficient??
1. Drag and drop the component 20 times.... |
Forum: VB.NET Mar 26th, 2009 |
| Replies: 4 Views: 478 This is exactly what's in my mind before reading those articles. There are some pros and cons of doing so... You'll know more after you read those articles... :) |
Forum: VB.NET Mar 25th, 2009 |
| Replies: 1 Views: 1,216 This may sounds stupid. I'm new to VB.net. My problem is that all the size of my picture box kept running.
1. I'm not sure is it because i set the form's backbgroundimagelayout to "Stretch" and... |
Forum: VB.NET Mar 25th, 2009 |
| Replies: 5 Views: 465 Perhaps you can create another function to check whether it exists or not?
Dim conn As SqlConnection
Dim strConn As String = "Data Source=ANX134\SQLEXPRESS;Initial... |
Forum: VB.NET Mar 25th, 2009 |
| Replies: 4 Views: 478 Hi, I did some searching.... Found some related article. Just for reference for those of you who like to know more about this topic.
http://www.webmasterworld.com/forum88/9091.htm
... |
Forum: VB.NET Mar 21st, 2009 |
| Replies: 4 Views: 478 Hi,
I'm trying to save some images into my Database of my application. Can I know which of the method below is better and why?
1. Store only the picture path into the database. Retrieve Picture... |
Forum: ASP Nov 27th, 2008 |
| Replies: 2 Views: 739 I found a solution already. Thanks anyway... :) |
Forum: ASP Nov 23rd, 2008 |
| Replies: 2 Views: 739 Hi,
I need to reset all the values of elements in my form to empty string. But the problem is that the form can be reset but the variable still holding the value of y previous input.
For exp,... |
Forum: C# Nov 19th, 2008 |
| Replies: 3 Views: 2,535 Yeah I guess there's no complete solution for this problem. I found another solution which seems working as well:
// Need all following code to clean up and extingush all references!!!
... |
Forum: C# Nov 18th, 2008 |
| Replies: 3 Views: 4,214 I got a very long list of items... Checkbox will looks a bit messy. Another problem is I have limited space... |
Forum: C# Nov 18th, 2008 |
| Replies: 3 Views: 4,214 Hi,
I'm wondering is there any build-in function or component that I can use to create a multi-select dropdown combobox. I try to google for this but most of the solution I found is for web based... |
Forum: ASP Nov 2nd, 2008 |
| Replies: 4 Views: 1,818 I already got a hosting server and database. The dynamic content part is also done now. Thanks for all the help given!!
Cheers.... |
Forum: ASP Nov 1st, 2008 |
| Replies: 4 Views: 1,818 Sorry Baradaran... Can you elaborate more on the first solution? Where should I put that? Is it in the <body> part? Where should i assign the value to product_id?
If I use the second solution... |
Forum: ASP Oct 19th, 2008 |
| Replies: 4 Views: 1,818 Hi,
I'm newbie in ASP. I am trying to view multiple pages by using a single file.
For example,
I have a few pages of product.asp (products.asp, products1.asp and so on). Now I want to create... |
Forum: C# Oct 6th, 2008 |
| Replies: 3 Views: 2,535 Try this... Not working either....
// Need all following code to clean up and extingush all references!!!
oWB.Close(null,null,null);
oXL.Workbooks.Close();
oXL.Quit();... |
Forum: C# Oct 6th, 2008 |
| Replies: 4 Views: 2,195 Yeah... I decide to save everything into a single excel file directly.
Thanks anyway... |
Forum: C# Oct 6th, 2008 |
| Replies: 3 Views: 2,535 Hi, I have problem to terminate the process EXCEL.EXE after I write into it. After the program finish execute. The EXCEL.EXE is still in the proceses list in the task manager. Anyway to terminate it?... |
Forum: C# Sep 30th, 2008 |
| Replies: 4 Views: 2,195 Hi,
I have my own dataset of data. Just wonder what function can I use to write into a excel file. For my current coding, I'm writing the data into several .csv files. Now I'm trying to write all... |
Forum: C# Sep 29th, 2008 |
| Replies: 4 Views: 2,195 Hi,
I'm new to C#. Can any one help with extracting info from a few .csv files and insert them into DIFFERENT sheet in excel(not necessary .xls format. .csv is fine). I'm not asking for the whole... |
Forum: MS Access and FileMaker Pro Sep 27th, 2008 |
| Replies: 2 Views: 3,136 Thanks. This is what I have in mind. :) Thanks... |
Forum: ASP.NET Sep 23rd, 2008 |
| Replies: 0 Views: 526 Hi, first of all sorry if I post this in the wrong section. Cant find where is the VBScript Section.
I'm new to VBScripting. What I need is the VBScript to count the number of record in my... |
Forum: MS Access and FileMaker Pro Sep 23rd, 2008 |
| Replies: 2 Views: 3,136 Hi, first of all sorry if I post this in the wrong section. Cant find where is the VBScript Section.
I'm new to VBScripting. What I need is the VBScript to count the number of record in my... |
Forum: C++ Sep 21st, 2008 |
| Replies: 9 Views: 640 Yeah.. You can do that... You just declare the List and the class (for eg. Class car) as usual. The only thing special is that the ListItemType is car.
class Car
{
private:
string name;... |
Forum: C++ Sep 21st, 2008 |
| Replies: 8 Views: 915 To do that, you can declare another 2 variable name total_ticket_sold and total_revenue. Then assign them with value 0. In the while loop, add another 2 lines of code:
total_ticket +=... |
Forum: C++ Sep 18th, 2008 |
| Replies: 1 Views: 302 At least put in some effort and try write something before posting your problem??:-/ |
Forum: C++ Sep 16th, 2008 |
| Replies: 21 Views: 2,548 The sorting method you are using now is Bubble Sort. You can use another popular sorting methods like Insertion Sort, Selection Sort, Merge Sort and Quick Sort. Actually these sorting are a lot more... |
Forum: C++ Sep 10th, 2008 |
| Replies: 4 Views: 514 Or may be convert the double into string. Then split the string using "." as the delimiter?? |
Forum: C++ Sep 9th, 2008 |
| Replies: 13 Views: 1,152 Err.... Pads, Give you some hint on the menu.
Just use cout and a few switch(). Give it a try first. The best way to learn is to try it your self. ;)
***Hi, jason102178. If you want to post a... |
Forum: C++ Sep 9th, 2008 |
| Replies: 7 Views: 548 Hi, I edited some of your code. Here it is. The reason it won't come out from while loop is because isspace() included the newline ("\n") as a kind of "space". See this... |
Forum: C++ Sep 8th, 2008 |
| Replies: 13 Views: 1,152 void calculation(double height[5], double weight[5], double BMI[5])
{
//Do some calculations on the height, weight and BMI to get what you want....
} |
Forum: C++ Sep 8th, 2008 |
| Replies: 13 Views: 1,152 Put in some effort and try at least do write a simple program??? :) |
Forum: C++ Sep 7th, 2008 |
| Replies: 1 Views: 333 Use switch() may be? Do you need the number to be shuffled?? Put in some effort. Try writing at least a simple program and post it. :) |
Forum: C++ Sep 4th, 2008 |
| Replies: 11 Views: 2,003 Here's another tutorial on switch()
----> http://www.codeguru.com/cpp/cpp/cpp_mfc/article.php/c4067
Try to write a program first. Then you can post your questions here. :) |
Forum: C++ Sep 4th, 2008 |
| Replies: 6 Views: 655 :P C++ isn't as tough as you thought. Just have more practice and stick with this forum. I learned a lot from this forum. Happy coding!! |
Forum: C++ Sep 4th, 2008 |
| Replies: 13 Views: 1,070 Good... Even signature is checked! :twisted: |
Forum: C++ Sep 4th, 2008 |
| Replies: 19 Views: 3,023 If you want to randomly generate number between certain range you can use :
rand()% x, where x is the maximum number.
Exp: rand()% 50, means range is 1-50.
Is this what you want?? |
Forum: C++ Sep 4th, 2008 |
| Replies: 6 Views: 655 You definitely have to work on your alignment of your coding. The alignment and programming style should be consistent. The reason why you program is not working when you choose option 2 is because... |
Forum: C++ Sep 3rd, 2008 |
| Replies: 11 Views: 2,003 jhonnyboy, it will be better if you can try to write a program first then post your coding.
mahlerfive is right but another alternative way is to store the number the user input in string then you... |
Forum: C++ Sep 3rd, 2008 |
| Replies: 4 Views: 682 RenjitVR, if I do that, means I can only input maximum 20 string item right? What I'm trying to get is unlimited input. Something like a simple dynamic array.
** Thanks Jencas and Salem for your... |