|
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!
|
|
|
|
|
Hi,
MyBase.OnSystemColorsChange doesn't exist !
What is the right solution for this problem ?
Thanks in advance
BB
|
|
|
|
|
BoxenBiene wrote:
MyBase.OnSystemColorsChange doesn't exist !
Accordint to MSDN ("OnSystemColorsChanged (inherited from Control)") it is inherited from System.Windows.Forms.Control, so even although the Form class doesn't do anything additional with it, there is some version already in your class heirarchy that you are overriding from.
"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!
|
|
|
|
|
In VB6 we can create an array of database connection like
dim cnObj() as ADODB.Connection
In VB.NET it is not possible. Is it possible in VBExpress? If so how. while writing code the compiler does not give error. Even while redimensioning no error. But when assigning a new connection to a redimensioned new array of system.data.oledb.oledbconnection, i get an error "Array dimension is not available" or similar error.
What is the problem here or does VBExpress support connection array? Is it possible to keep these connections in a collection?
Thanks
RV
|
|
|
|
|
It is possible, but why would you want to? Best practice is to open a connection just long enough to do whatever work you need, like setup a DataReader (which will close it's connection upon reading the dataset), update a table, or call a stored procedure, then close it when it's not needed for the current operation anymore. Keeping a connection open a poor practice because they are expensive resources to have open on the server occupying a connection license and holding on to resources.
VB.NET and VB.NET Express are the exact same language. You might want to look into using a collection instead of an array. What does the code look like that your having problems with?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Well i do know it is expensive to hold memory with multiple connections. Indeed stinky piece... Consider an auditor or a CEO or a top management person of an organization having a system which can connect to all systems simultaneously [Production status from SCADA/PLC, Finance status from AS400, User info from Exchange server, Raw Material info from Mainframe data, Customer info from Biztalk etc] all in one application, compare them [technically in one dataset but multiple connections].... Exactly this is what i did and my system worked perfectly when it was done in VB6(multiple connections stufffff) but not in DOTNET... may it be array or collection....
Hope that you got what i'm trying to tell. This is not the competitive techi stuff to prove something but used or in high need in enterprise level...
RV
|
|
|
|
|
So? You still don't need an array of connections for this!
In proper modular programming s own class(estyle, each of these systems would have its own class(es) that manage the fetching of data from that system. Again, the proper method is to open the connection, perform the data transaction, then close the connection. Keeping the connection open only as long as is required to complete the transaction.
BTW: Creating an array of connections IS possible, but no-one does this because it's never necessessary. Unless your writing your own connection pooling algorithm, anyway.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|