|
the problem is i proposed on my thesis that i will use entirely vb.net. and i really dont have any background on C. i was searching this lockbits function and i still have to test it if it would work as fast as i want it to. err why does .net have to remove those functions i need.grr.. ill yet to google about referencing to a c# dll also using c++ to compare images in the directX stream. that means i have to re write another program that uses direct draw...err.. if you have YM do add me up macrulz2004 i really need some professional help right now. thnx a bunch for the replies
|
|
|
|
|
I want code for connecting with MS Acess database for a vb.net application.
|
|
|
|
|
This is a very simple, top level and well documented task. I suggest reading the article I link to in my sig if you're unsure how to use google.
What you need to realise is, a full article will explain it far better than anyone could hope to in a forum reply.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
|
hi,
i'm using visual studio 2008 and work on vb.net for windows application..
i've create server and client application and the problem is my server became freeze when i push its start server button. It will continue freeze untill i push connect button on my client application and everything became normal back.. so, i would like to know, can i use timer to avoid it become freeze. Or there any guide to avoid it become freeze..
|
|
|
|
|
Write code that checks if the server exists and times out. Make it run on a thread so it doesn't freeze your app
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have an application which allocates some thousands of objects, each containing a collection and some simple types. The objects in question form trees (the collection containing references to other objects). Setting to nothing the last reference to the root-level object of a tree takes an absurdly long time--multiple minutes. I would guess that about 1,000 objects/second are getting disposed.
Is that normal?
One remedy I have that seems to somewhat work is to have a global collection called "junklist". My class_terminate handler for these objects checks whether the object's collection is empty and, if not, adds its contents to junklist. When the application is idle, a timer handler then repeatedly empties the first item in junklist until it's spent over 100ms doing so (then it lets other tasks run, until the next timer tick). That seems to work pretty well, provided that the junk list get emptied before the application terminates. If there are still undeleted objects when the application terminates, the VB studio will be frozen until the system junks all the objects.
Are collections particularly evil, or is slow object disposal a VB6 "feature"?
|
|
|
|
|
hi every one
i want to ask how can i send email in application program
in side my code i will write the msge ,the user just prsse buttan and it will send the email
i look about it in the serch engen and in the artical at this sit but i do not find anser
please help
|
|
|
|
|
Search harder.
Searching both Google and arcticles with the following:
vb send email
found many references.
|
|
|
|
|
Not to mention that there is about 400 threads in this forum relating to it.
|
|
|
|
|
I need to monitor a web page open in my browser and click a 'button' every x minutes, and if the page has changed, to pop up an alert. I have no idea if this is possible and would appreciate anyone's suggestions as to how this might be achieved. I am experienced in VB, and can understand C#.
It would not be a problem if the program had to open the web page in a browser control within the program.
Thanks.
|
|
|
|
|
|
It could be possible with the web browser control.
http://msdn.microsoft.com/en-us/library/2te2y1x6.aspx[^]
pseduo code
fetch page -> store source code
Timer ticks off and triggers event
fetch page -> store source code
compare previous code to new code;
if different do something
Just because we can; does not mean we should.
|
|
|
|
|
Hi All Respected,
I am working in vb.net, i have created a textbox according my requirements, now i got some offer from my client, he wants to purchase it, but my problem is how can i register it in vb.net 2005 toolbox, and how can i provide license to use the control, and after expiration it will off in used application and give design and compile time error.
i hope u are understand my problem, if u have any ideas pls guide me.
bye
regards Rajat.
B in Game
modified on Monday, May 12, 2008 7:46 AM
|
|
|
|
|
|
Hello All,
I am working on a VB.net application in VS2005. In which I have developed an add-in for Microsoft Excel 2003. But when I try to compile my workspace I get following error.
Error 58: Type 'Microsoft.Office.Interop.Excel.Application' is not defined.
What can be reason of this error ?
Please suggest.
Thanks in advance,
bye
|
|
|
|
|
You don't have the OFfice toolkit installed ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Can you post some code, that might help to understand.
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
|
|
|
|
|
Hai all,
i had on gateway.xml file,like
<<?xml version="1.0" encoding="utf-8" ?>
<GateWay name="UserID">
<title>Gate</title>
<Collection>
zoo
<strpwd >test </strpwd >
<strapiID >301</strapiID >
<strurl >http://sms.xyz.com/sen.asp?</strurl >
</Collection>
>
and i need to assign strUserID variable in .net,and i had to assign the
(strUserID =zoo) strpwd =test from the xml file....
Thanks in advance
Thanks
Subbu.
|
|
|
|
|
Use the XmlDocument to load the XML, use XPath to search for nodes, then when you find a node, read it's InnerText for the value.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
write to excel file
modified on Monday, May 12, 2008 5:42 AM
|
|
|
|
|
By using the Microsoft SDK for controlling Office files via .NET.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Can i have any sample code?
Hitesh sojitra
|
|
|
|
|
Sure[^]
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|