microsoft.public.dotnet.languages.vb Archive - March 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
212223242526272829303132333435363738
how to save copy of project from inside visual studio (5 replies, VIP)
microsoft.public.dotnet.languages.vb
I'm new to visual studio. Is there an easy way to 'snap shot' a copy of a project from inside visual studio? Thanks
Accessing forms controls in module (3 replies)
microsoft.public.dotnet.languages.vb
Hi all, If I remember correctly, in VB you can refer to your controls from a module simply by referring to ControlContainer, ie. Form1.Textbox1.Text "something". I have added a module to my project in .Net and I cannot access any of my controls in Form1. In fact referring to Form1 brings up a very limited list of properties. How do I get at my controls and properties? Thanks, Phil
Threading Question (3 replies)
microsoft.public.dotnet.languages.vb
I'm very green with this concept. I saw a post before which applied I think, but I can now not find it. I am using Mappoint, a com control which can be very slow to load. I was thinking as a browsed through the post that I could make the form "show" faster if I loaded the control through a separate thread. Am I on the right track? Any example code?
help someone read data from a web page (3 replies, VIP)
microsoft.public.dotnet.languages.vb
Hello everyone, sorry to invade your group. I'm only a casual VB programmer. I'm usually using it to automate some simple text file I/O. Sub testopenwebpage() Const www "http://www.eastbayexpress.com/issues/2003 09 17/music.html/1/index.html" Dim EachLine Open www For Input As #4 Do While Not EOF(4) Line Input #4, EachLine Debug.Print EachLine Loop Close #4 end sub So, this is the basic code to re...
Disposing of a log in window (3 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi ! I am trying to dispose of the startup form in my application a login form (frmLogin) after it calls the main form (frmMain). I cant seem to get it to work. Here is my code. frmLogin Code Sub btnSave Click Dim mainF As New frmMain mainF.Show() Me.Dispose() End Sub The main form flashes up and then the whole app closes down as it goes to the next line (Me.Dispose()). What needs to happen is the...
how to access 2 namespace? (2 replies)
microsoft.public.dotnet.languages.vb
i have downloaded some example off the internet. the example includes namespace. now i want to include the two example in my project in my vb.net app. how can i access 2 namespace w/ in my 1 form? in my form i have declared this code... Namespace DataGridCheckBoxChangeEvent now i have another code that use namespace and i want to access that w/ in my form
Transparent background. How? (2 replies, VIP)
microsoft.public.dotnet.languages.vb
How to make transparent the background of a label or any other control in front a PictureBox? I tried many things but nothing help. Can you give me a hand? And another thing... Why is more slow the GUI drawing with .NET? resizing a window with some picture box or another graphic control is slow compare to VB6.
execute statement (4 replies, VIP)
microsoft.public.dotnet.languages.vb
trying to use code below to create dynamic variables but no success, what am I missing ? for i 0 to 2 dim vString as string "Dim submenu" & Cstr(i) & " As New skmMenu.MenuItem(" & tab.TabName & ", """")" EXECUTE (vString) next
String Pattern Search Ideas (7 replies, VIP)
microsoft.public.dotnet.languages.vb
Hello, I need to retrieve strings that are bounded by special characters from a larger string **item1%%**item2%%**item3%%. What is the most efficient way to do this? Thanks, Paul
Excel: Check for borders of cells in all workbooks (vb.net) (2 replies)
microsoft.public.dotnet.languages.vb
Hi, For a project at school we have to automate the assignment of seats in classrooms to students during the exams. The lady who previously did everything manually kept the layouts of the classrooms in an excel document: 1 sheet per classroom, and she marked the cells which represent the seats with a border. The problem however is that she sometimes merged cells together to get a better layout. Pr...
NET controls (4 replies, VIP)
microsoft.public.dotnet.languages.vb
Where downloads the best free NET controls?
Instructions... Wonderful thing... (3 replies)
microsoft.public.dotnet.languages.vb
You know, you can learn a lot about the datagrid control by just reading about it. ) BTW, Jan's Grid is amazing... Anyone paying hundreds of dollars for a grid, take the few minutes out to read how datagrid works, and you will never need another. 0 Just my input. CJ
Datagrid (2 replies)
microsoft.public.dotnet.languages.vb
I setup a data grid and figured out that I could select a value by doing the following: DataGrid1.Item(0, 0) However, I don't want to have to specify the cell location. I want the user to be able to select the cell location and get the appropriate value. Does anyone know how to dynamically get the row/cell value?
Cannot get rid of these exceptions (2 replies)
microsoft.public.dotnet.languages.vb
Again I need your help, cuz I'm out of idea ! I get an error at runtime at the indicated line : System.NullReferenceException occured in MyApp.exe If I continue, I get : System.TypeInitializationException occured in unknown module ... Help on these matters is chinese to me. In a standard module : ' Public tbxOtherPilotFullPath As Collection New Collection Sub tbxOPENTBXCFG(ByVal sMyFullPath As Str...
Email without SMTP Server (13 replies, VIP)
microsoft.public.dotnet.languages.vb
Hello, Is it possible to send an email from vb.net application without using SMTP server? Are there any third party components that I can use? Thanks
Calling Javascript Function from within VB Procedure? (5 replies)
microsoft.public.dotnet.languages.vb
Dear Group I'm using VB to write an aspnet application. I would like to call a javascript function from within a VB Sub or VB Function, is it possible? My code is something like this: VB Code: Public Sub VBProcedure() .. .. Run some VB Code... .. .. Now call the javascript function End Sub Javascript: HEAD script language javascript ! // MyFunction function myfunction() { window.open() } // /scrip...
threads, forms, and com automation (3 replies)
microsoft.public.dotnet.languages.vb
I'm working on a VB.net app that uses IE, some forms, and multiple execution threads. I'm unclear on a couple of threading related matters and hoped that someone could provide some insight. From within a thread of execution, if I do a form.show, what thread does the form process execute on? Is the form process supported by its own thread? When the form post an event that my code catches such as a ...
pass form to function (5 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi! I am new to vb.net and have a question on how to pass a form to a function. Could someone point me to an example or give me a quick example on how to do this. Thank you Stacy
Connection syntax not right (13 replies)
microsoft.public.dotnet.languages.vb
Can someone please tell me what is wrong with this syntax? I am just really frustrated. I am trying to use the application startup path for this but it does not like this syntax for some reason. Does something look out of place here? Dim strOTRConnection As String "Provider Microsoft.Jet.OLEDB.4.0; Data Source Application.Startup & otr.mdb" I know this is the problem because if I move my database ...
What code can my program Email me with if a condition happens? (4 replies, VIP)
microsoft.public.dotnet.languages.vb
How can I do this if a certain event happens within my program? Can I use a hotmail.com account or one of the tribidz.com that comes with my hosting account? Is there a free way to do it? Dim email As New System.Web.Mail.MailMessage email.To "trintsmith@hotmail.com" email.From "trinity@tribidz.com" email.Body "Message Text" email.Subject "Subject Text" email.BodyFormat Web.Mail.MailFormat.Html Sys...
Replace methode, Replace Function, Stringbuilder replace, Regex Replace, Split (5 replies)
microsoft.public.dotnet.languages.vb
Hi Newsgroup, I have given an answer in this newsgroup about a "Replace". There came an answer on that I did not understand, so I have done some tests. I got the idea that someone said, that the split method and the regex.replace method was better than the string.replace method and replace function. I did not believe that. I have tested this in two ways: with iteration of small strings and with a ...
how do i get the value of my primary key in datagrid? (4 replies)
microsoft.public.dotnet.languages.vb
i'm wondering how can i get the value of primary key in datagrid. thanks in advance
Grouping 1st 2 characters (2nd try) (5 replies, VIP)
microsoft.public.dotnet.languages.vb
Hello, I want to create a Dataview which contains, grouped, the first 2 characters of a cell value. I tried (SQL Server background): dv New DataView(ds.Tables("Product"), "distinct left(artcode, 2) group by artcode", "artcode", DataViewRowState.CurrentRows) Can someone explain me how to achieve this? Thanks!
how pass variables within diferent assemblies ? w/t (2 replies, VIP)
microsoft.public.dotnet.languages.vb
.
Login timeout (5 replies, VIP)
microsoft.public.dotnet.languages.vb
I have been tasked with yet another goofy thing. I need to make, I'm going to assume it's a system service, that when a user logs in and walks away, it will log them out. I'm thinking, using a global hook, if the mouse/keyboard hasn't been touched in 10 minutes, run whatever is needed for forced logoff, and log this into the security audit log. Anyone got any ideaas where I should start looking? T...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com