Topics
-
-
- Administrators
- 7 replies
- 1.4k views
I need to keep a log file of activity in a simple text file. I've done this in VB6, but I'm guessing VB.NET has a single object I can use to write individual lines to a text file. Or is that not the case? Thanks for any recommendations you can give.
Last reply by thenerd, -
-
- 1 reply
- 1.1k views
I am writing an installation type program for an app that spans multiple CD's. When I insert the 2nd CD the OS (i believe) is opening a dialogue box that show's what's on the CD. The installation continue's fine, but I want to suppress the dialogue box. I thought maybe using the windows API would be able to accomplish this, but I can't seem to find anything even close to this. Can anyone point me in the right direction?
Last reply by VagabondSW, -
-
- Administrators
- 7 replies
- 1.2k views
I have a form which has two listviews on it. each display different information. I also have a button which when it is clicked i want it to determine if any thing is selected in either listview. I cant figure out how to do this so any help would be appreciated. Thanks in advance.
Last reply by VagabondSW, -
-
-
- *Experts*
- 14 replies
- 3.9k views
What is considered the .NET replacement of the above?
Last reply by mandelbrot, -
-
- 1 reply
- 740 views
I'm trying to write a simple tool, that i hopefully can use to send single keystrokes to some (external) music-programs (called Renoise and Modplug-tracker). The command Sendkeys didn't help me. Although it succesfully seemed to send keys to external (text-based) programs like word, notepad, calculator etc, nothing happend when i set the focus to the Renoise window. I managed to send keys (like "z" or "x" ) to the program, but it did'nt respond. Does anyone know if there Is a way to simulate keystrokes that are executed exactly as if they had been typed in at the keyboard? Or Is there a plugin available,for visual basic that works better than sendkeys option? …
Last reply by Simcoder, -
-
- Administrators
- 7 replies
- 1.1k views
I have this code... Public Structure clsEmployee Dim First As String Dim Last As String End Structure Dim oEmployee As clsEmployee How can I check to see if oEmployee equals nothing? The following two lines are invalid... If oEmployee Is Nothing Then If oEmployee = Nothing Then I see if I make it a "Class" instead it works, but I'd like to use a Structure in this case if possible. Anyone know what the deal is? I find it especially odd since this line is valid... oEmployee = Nothing
Last reply by IngisKahn, -
-
- 0 replies
- 723 views
Developers who wrote this app have performance counters and the code writes to the event log. With this and Windows2003, we're getting access denied... Is there an alternative to writing to "event logs"? Is it possible to create custom event logs and write to those?
Last reply by eramgarden, -
-
- Leaders
- 3 replies
- 5k views
Can anybody tell me the difference between List and Innerlist in a collectionbase? Thanks
Last reply by Radovici, -
-
-
- Administrators
- 2 replies
- 841 views
Hi Am in the process of trying to upload and download files from a web server. I have, at this point, the upload function operational: If Not (filMyFile.PostedFile Is Nothing) Then Dim myFile As HttpPostedFile myFile = filMyFile.PostedFile 'Get the size of the uploaded file. Dim nFileLen As Int16 nFileLen = Convert.ToInt16(myFile.ContentLength) 'Verify that the file size is greater than 0 If nFileLen > 0 Then 'Allocate a buffer for reading of the file. Dim myData((nFileLen)) As Byte 'Read uploaded file from the stream. myFile…
Last reply by mike55, -
-
Hi Am uploading a .CSV file from a clients machine to a web server, the program is then to loop through the .CSV file and upload the data to SQL Server 2000 database. What is the most appropriate manner for detemining if the .CSV file has javascript or anyother malicious scripts hidden in it? Mike55
Last reply by FZelle, -
-
- Administrators
- 2 replies
- 798 views
How can I write information to a new Panel control? The information will have HTML tags, so I can not drop a Label or TextBox onto the panel and write to it. I've been looking for something similar to a Document.Write method: Panel2.Write = "<body><table>...</table></body>"; Obviously, this does not work. Currently, I have 2 panels on my form, one visible and the other hidden. On Submit, the panels reverse rolls and I need to write information to this second panel. Won't someone please show me the way? I seem to have lost it.
Last reply by joe_pool_is, -
-
- 1 reply
- 864 views
I created a report with Crystal reports and i've exported it to an excel file. The export works fine, but i'm having a small problem...i get a very "high" row like in the snapshot below. Does anyone know how to solve this ??
Last reply by tomshark, -
image
by lothos12345- 1 reply
- 645 views
How can I load an image that is stored in sql server to a visual basic.net application? Any help is greatly appreciated.
Last reply by Machaira, -
- 0 replies
- 1.4k views
I have to parse javascript codes that are read from .js file. Does anyone know javascript parser that I can use with api it provides? I wrote regularexpressions to parse it. But, it's better to go with existing javascript parser rather than coding myself and debugging hard myself.. :p Thank you..
Last reply by goodmorningsky, -
- 2 replies
- 639 views
I need all your expertise quite urgently. I stupidly last night deleted my db .ldf file (can't get the one I deleted back at all) and obviously now I can't attach my .mdf file as it giving errors saying that it can't find the relevant .ldf file :( (don't know exact error as I am not at my computer). I have tried sp_attach_db with only specifying the mdf file, I have also tried sp_attach_single_file_db, and also tried creating a new db with the same name and then replacing the new .mdf file with my old one, but again with no joy. Is there some way that I can overcome this, telling Enterprise Manager to ignore the .ldf completely and create a new one. I have g…
Last reply by lidds, -
- 1 reply
- 5.9k views
I don't want to use delegates and BeginInvoke because of the small threading pool (AFAIK 25 threads pro processor). I want to use new Thread(...) :) Any ideas? Adam
Last reply by mhildner, -
- 0 replies
- 694 views
File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found. Line 13: <compilation defaultLanguage="vb" debug="true"><assemblies><add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>&l…
Last reply by dotolee, -
- 4 replies
- 919 views
i am using this code to add a picturebox to my form and perform a drag drop operation. But when i run the form, nothing shows up. I need some help, PLEASE. Dim i as New Picturebox Me.Controls.Add(i) i.Visible = True i.Image = imgFloor.Image'Another Picture on my form" i.Left = 10 i.Top = 10
Last reply by penfold69, -
-
- *Experts*
- Administrators
- 4 replies
- 1.4k views
hello, in vb.net i create a new form instance in my sub main. Public Module programme Public Sub main() Dim formulier As New Form1 formulier.Show() End Sub End Module the form appears but then dissapears again... what is this? why doesn't it stop when it once appears ? thx, inter
Last reply by Bucky, -
-
-
- Administrators
- 5 replies
- 966 views
I have a hashtable that i have populated with instances of a custom class, the class has properties that i wish to access when iterating through the hashtable using a repeater. haven't got access to the code right now (at office), but if anyone can tell me how to return the values of a class' properties when iterating through a hashtable using a repeater I would be xtremely dot netting grateful. If needs be i'll post the code when i'm in first thing tomorrow. The error i'm getting is somethign along the lines of myClass.myHash does not contain the property myProperty, when it blatently does. Cheers!
Last reply by DannyT, -
-
Who's Online 0 Members, 0 Anonymous, 46 Guests (See full list)
- There are no registered users currently online