For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
I have created a program, ready to deploy. I will deploy this program from a CD.
As part of the install I want to create a desktop shortcut for the program.
I am using vb2010 express and I don’t know where to start.
I am iteration thought the row in order to insert/update/select.
How can I make Async call so it will be run faster
For Each myRow As DataRow In gobjImportDS.Tables(TABLENAME).Rows
.... If FindGIASPROVMSTR(myRow) > 0 Then
' if exists update
If GIASUpdateProviderMasterCommand(myRow) = True Then
Making it "async" doesn't make it run faster; it just makes it execute independently of the UI-thread. The simplest way to start something on a different thread is by queuing it in the ThreadPool[^].
Be carefull not to touch any UI-stuff from that new piece of code; it would crash the application, unless you wrap it nicely in an Invoke-pattern (to invoke the running of the next code on the UI-thread).
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
I'm having a problem on my code that's throwing me the following error:
'Class does not support Automation or does not support expected interface'
What I'm doing is, we have lot of ActiveX exe and we want to migrate them to .net, but as visual studio doesn't support ActiveX exe migration, I'm following this article ActiveX EXE Wrappers[^] I did one test project and after this worked I tried to migrate a working project.
So I was migrating my ActiveX exe to a Windows forms Application and I adde the following com class to my projec:
hi how are u guys, im a begining in the world of the programmation and i like to know how to sum two columns in a truedbgrid, i have one column charge with data from a dataset, then i write the data in the second column, finish the result appear in a third columns that contains data from the same dataset
Before I make this request, I would like to express my profound gratitude to the codeproject bodies, whom with thier aids, I can be proud to call myself upcoming programmer. Once again, thank you all for sources codes, advice etc. I would like to get my hands sweat by writing advance applications. I saw a software that can read out security code of mobile phones connected to the PC via USB cable, and will display security code on a label. I was doubting the application and I tried it with my own phone and it was my private security code it reads out. So, am wondering how I can write such application using vb6.0 or vb.net. I tried google but no match and am not even sure of the right keywords to use. Any advice, source code, guideline is welcome. Thanks!!!
The issue is not really about programming, but about mobile phones. What you need to research is sites that explain the internal workings of mobile phones and how you can read from them via the USB interface.
With VS 2008 VB.Net; I need to create a label (Avery 8161, 1" x 4") that is very involved. 1st line is 12pt, 2nd line 16pt, 3rd line is 14pt, 4th line is 11pt followed by 12pt on the same line. There is a rotated text box that is 20pt and to top it off, there is an area that has filled in shapes (rectangle with 1pt black border and two filled triangles inside that border. I've got the table and can place text but cannot change the font except entire table wide. I haven't found any guidance in doing this in the word tables. Of course, this is the format for all 20 labels on the page. (Don't see any way I can include a picture of the label)