... some ... Any time you call a sub routine from any code compiler in VB you simply enter the name of the sub routine in the code where you want to sub ...
Hi All, How do I dispose xmlDocument objects in asp.net? -Thanks ... Save all your chat conversations. Find them online. [Non-text portions of this message...
well i'm not an asp guy.. but if the msg is a variable... then you have to write it like this Response.write("<script>alert(" & msg & ";</script>"). if its not...
Hi Krishna, I have tested the code. Its working fine. Where did you write the code, i mean which event. Praveen Kumar. Ch Hi I am using ASP.NET 2.0. I am...
Guys A buddy of mine is working with .Net (poor guy -- hehe, sorry, I'm a VB6 kinda guy). He has populated a datatable.. it was initialized with the...
DataTable has a propierty called Rows. Imagine you got this: oTable as your table already filled with the data. So you do this: oTable.Rows(0)(0) this will...
Ensure that the table has rows: If MyDT.Rows.Count <> 0 Then 'To access the first row and first column item: YourVariable = MyDT.Rows(0).Item(0) 'To access the...
does anyone know how to implement structure with bit fields in VB? for example, how to implement this structure in VB: (in C) typdef union { unsigned long...
This has been driving me crazy for a long time, Can you please tell me what I could be doing wrong? I am trying to create a VB.net Class Lib that is being...
Bryan Garaventa
bgaraventa11@...
Oct 5, 2007 4:00 pm
8633
Andres & Eze Andres: It worked.. he likes it. Eze: Thanks. I'll pass this along to him as well. Frankly, I was a little thrown by Andres' syntax (namely,...
Does anyone know of a way, using VB.net or C#, to capture the entire content of a web page in an image, then to save that image to the hard drive? I'm having a...
Bryan Garaventa
bgaraventa11@...
Oct 9, 2007 4:43 pm
8635
Hi Wassup! I Guess this will help VB6: Private Type TPerson Name as String Age as Byte Job as String End Type Dim P1 as TPerson la_laich2 <laich2@...>...
SnagIt can capture all that and it can be used as a COM Server and referenced into your VB.NET or C# App. Then you can capture entire web pages on the fly...
Hi Bryan I tried to do this before but I've totally failed I think you'll need to use HDC property of WebBrowser then use Paint DC API Function anyway if you...
Thanks, I've actually found a way of doing it by using MiniCap from http://www.donationcoder.com/Software/Mouser/MiniCap/index.html The nice thing with...
Bryan Garaventa
bgaraventa11@...
Oct 10, 2007 11:07 pm
8639
If I were you, I'd cheat and print the page to PDF printer... I'm sure there's an openSource driver you can use. But that's cheating. Just an idea. ... the...
Hi everyone. Need help in coding the following setup: Form1 as the main form and set to maximize. I need to add another form but it should be within Form1 only...
I wrote a program in VB6 that requires a password and other data that the user can store to personalize the program. I wrote the progam to open files for input...
If you're only trying to avoid the situation where a user would modify the files, then change the extension of the filename... instead of mydata.txt call the...
what I have done is to have the data such as the password saved in a text file, when the program runs it inputs the data into a textbox that is not visible,...
"If you MUST have the data untouched then you need to go a different direction. Records and binary files. " could you explain this please? Thanks :) ...
No but Mid(mainstring,",") will give you a integer containing the position of the comma within the string. Try this: 'declare variables dim lcomma as long dim...
Greetings, zbuster81 [zbuster81@...] wrote: I a Visual Basic class and i need to get rid of a comma out of the middle of a string. Does a trim function...
Basically, you have a defined set of info (not unlike an XML schema) that you read/write using special functions. (ignore my nominclature, the syntax is all...
Hi, this has got me totally stuck... I have the following function Private Stream As ComTypes.IPersistFile Public Function SaveSourceCode(ByVal Doc As...
Bryan Garaventa
bgaraventa11@...
Oct 17, 2007 11:01 pm
8650
Nop, Trim function will not work for what you want.. but you can use the Replace Method of the String Object. Lets say you have this: Dim t as String = "We,...