|
Both classes are located in the same name space and all are visible using the object browser.
|
|
|
|
|
I made a newbie mistake and was wotking in the wrong scope. After moving my code around it works as expected.
JG
|
|
|
|
|
Hi
Can someone help me out with the comboboxes?
I'm trying to make the items that I add thru my program stay in the combobox and I don't know the right code.
Gap
|
|
|
|
|
What kind of item that you want add. Usually the item in the combobox just present during the time that you run your application (store in memory). If you want to store an item everytime your program load you need to write it in the formload event. If you want it to be more flexibility, you could store the information of the item that you want to add in the text file or database. So when you load your application you can load that item from text file or database in your combobox as normally.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
gosh thanks
i'm trying to add text by the way
and how do I program that...?
|
|
|
|
|
Try to find the information from here[^]. It contain some sample application that demonstrate to load the database in the combobox. If you still have the problem, let me know.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
ok Thanks so much
|
|
|
|
|
ahhh those are VB 6 and 5 samples i'm on VB .net 2003
but I almost made the program it's just that it adds all the text from a .txt file into one item and what I want it to do is add one item for each line on the .txt file
|
|
|
|
|
|
hi,
can anybody tell that how i can open pdf file through vb or vb.net for reading
Thanks in advance
|
|
|
|
|
Try to read the information from here.[^]
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
In VB you probably need an instance of the Acrobat View instantiated before calling the file. In vb.net, I just had to address this. Really the simplistic approach is to hyperlink to the filename.pdf file and it will open in your web form window...kind of automagically.
I wonder if anyone can tell me a way to have it open in it's own window, or web form without writing javascript with a new window event firing...I mean open a second web form while keeping the calling web form open??
|
|
|
|
|
I'm looking for some documentation on howto manipulate winamp via vb.net
I have no knowledge on the area so any help would be appreciated...
Isn't there some documentation on the subject if there is where can I find it?
How terrible is wisdom when it brings no profit to the wise
|
|
|
|
|
Winamp Software Development Kit
http://www.winamp.com/nsdn/winamp/sdk/
|
|
|
|
|
thx a bunch just what i was looking for... guess I'm getting lazy
|
|
|
|
|
Hello,
I attach a "Tree Control" on a Form in VB.NET. I want to add some parents and child nodes through code not through properties. How to do this????
IS it possible to assign keys or id's to nodes. If yes then to do this.???
And finally "How to access parent node attributes when you are at child node"
Plz reply of these 3 problems.
Regards,
Eshban
EsHbAn BaHaDuR
|
|
|
|
|
.NET Framework Class Library
TreeNodeCollection Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsTreeNodeCollectionClassTopic.asp?frame=true
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsTreeNodeClassTopic.asp?frame=true
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsTreeViewClassTopic.asp?frame=true
|
|
|
|
|
Hi everybody I need help i'm trying to make a setup but I try to build a *.exe file in it and I get this message:
Unable to build assembly named 'Gap's Email Client.exe', HRESULT == '0x8007064F'
Can anyone help me here?
I apreciate any help.
Gap
|
|
|
|
|
I found these two references, It dosen't look good so far.
Unable to build assembly named 'MyApp', HRESULT == '8007064F'
http://www.mcse.ms/archive102-2004-1-264423.html
Unable to build assembly named '<name>'
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxerrunabletobuildassemblynamedname.asp
|
|
|
|
|
Thanks anyway
|
|
|
|
|
I created a web service that authenticates a user based on User/ID.
When the user does not authenticate, I would like to display a login form.
Can a my web service return a windows.forms.form object.
I have imported a form class into the web service project.
I created a web method that instantiates it and returns it.
When I invoke the method It fails.
Jesse
|
|
|
|
|
It could, but it is NOT Web Service friendly. Your Web Service should be self contained and use NO user interface what-so-ever. This would allow your service to be used by either a Web Application OR a Windows Forms app without any changes to the service or regard to the type of application calling it.
Since a Web Service is usually stateless, using a User Name and Password is not really a good idea, but it is possible.
Your application would have to supply a user interface that gathers the username and password. The Web Service would expose a method that authenticates that information against a credentials database and establishes a session tracking record in a second database. This session tracker would generate a token, possibly a GUID, and return that token to the client. For each and every subsequent call to the Web Service, each method would take that token as an argument and see if it exists in the session database. If not or if the session expired, the call would be denied and return some kind of custom authentication exception that the application would have to deal with. If so, the call would be processed as normal, then the session database record updated with a new data/time value that would keep the session record alive. The session database would scan the session records, say every minute, and timeout (kill off) the records that have expired in, say, the last 20 minutes.
Every method call you write in your service would have to update the record of the session token it gets! This way, someone can't login to your service and just sit there all day, not doing anything with it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks.
I'll keep the gui in the front end.
jesse
|
|
|
|
|
Hi community,
I want that my Form acts on the OnSystemColorsChanged event. Therefor I overrides the OnSystemColorsChanged methode like the following:
Protected Overrides Sub OnSystemColorsChanged(ByVal e As System.EventArgs)
Messagebox.Show("SystemColors have changed!")
Me.OnSystemColorsChanged(e)
End Sub
The result is fatal. The system hangs. When I change the order like:
Protected Overrides Sub OnSystemColorsChanged(ByVal e As System.EventArgs)
Me.OnSystemColorsChanged(e)
Messagebox.Show("SystemColors have changed!")
End Sub
The Messagebox woun't be shown !?
Where is the problem????
Thanks in advance
BB
|
|
|
|
|
Wouldn't you be better to use MyBase rather than Me ?
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|