-
- Change file name case
by vtondrjc
- 4 Replies
- Last post
by vtondrjc
- Is there a "direct" way in VB2005 / .NET to rename a file changing only the case of some characters
My.Computer.FileSystem.RenameFile does not seem to handle this.
I prefer not to use a roundabout two step way to do it.
Windows can surely handle the situation - such as when file names are edited in Windows Explorer. Problem is just to find the kernel function or subr
-
- how to detect if .NET framework is instaled??
by mato
- 1 Replies
- Last post
by Derek Smyth
- hi how to detect if .NET framework is instaled i can detect .NET framework v 2.0 on my setup (at different PC) if doesnĄ¯t there will be choice to install it. if yes continue in my setup thaks
-
- Event ID: 26, exception 0x40000015
by Vadim Maksimenko
- 5 Replies
- Last post
by nobugz
- What does it stand for
"Application popup: Station.exe - Application Error: The exception unknown software exception (0x40000015) occured in the application at location 0x7813461a."
How should I understand it -- You have assigned it a value, but you do not know why that value was assigned, eh Who knows then
-
- How to get Publish Version values in code
by slindee
- 1 Replies
- Last post
by stlarmon
- I would like to be able to display the Publish Version (Major, Minor, Build, Revision) in my application's title bar. How can I get this in VB2005 code (note: not the Assembly version or the File version, but the Publish Version as shown on the solution's property page, Publish tabpage).
Thanks,
Dean S
-
- How to pick color from a picture?
by Penicillin
- 14 Replies
- Last post
by rkimble
- Hello
How to make a tool to pick color from a colored picture in Picture Box
I hope that you understood me.
Thank
-
- Datagridview problem
by Olodu
- 8 Replies
- Last post
by Olodu
- Hi Guys, I need help in passing data from a datagridview control to textboxes. I have a simple windows apps with 2 forms, when the user doubleclick a value from a datagridview control in form1, I want the record to be displayed in the texboxes of form2. How do I go about coding this Any help would be highly welcome. Cheers
-
- Using ComboBox AddRange method with multidimensional arrays
by IndieSouth
- 1 Replies
- Last post
by IndieSouth
- Does anyone know a way of using a multi-dimensional array with a combobox's AddRange method
Right now I'm looping to fill the combobox:
For i As Integer = 0 To 200
Me .cboWIM3_ExteriorCode1.Items.Add(sUNITableList(1, i))
Me .cboWIM3_ExteriorCode2.Items.Add(sUNITableList(1, i))
Me .cboWIM3_ExteriorCode3.Items.Add(sUNITableList(1, i))
Me .cboWIM3_ExteriorCode4.Items.A
-
- What does this error mean , please
by Mikepy
- 14 Replies
- Last post
by Ivan Scattergood
- "Windows Installer is not included in any selected prerequisite " this comes up on my errors tab when i compile. it's referring to a setup project which is part of my solution. Cant find any help on it. Can someone enlighten me please Thanks Mike
-
- Wiring up an Event Handler when its Selected Index Changed in a cutom control... vb.net
by Warren LaFrance
- 1 Replies
- Last post
by kleinma
- Below is a set of sample code that I am trying to convert to vb.net, I am having a slight issue with the line of code
" ddl.SelectedIndexChanged += new EventHandler (ddl_SelectedIndexChanged); " in red below...
I am trying to convert it to a vb.net version, any ideas
The original code comes from this site: http://www.codeproject.com/cs/miscctrl/ExtendingGridVie
-
- assigning values from a text file to variables
by NuclearIntern
- 11 Replies
- Last post
by NuclearIntern
- I know this seems like a simple sort of question, i just can remember. i want to open existing files and read the vaues in and assign them to program variables, i just dont remember the code i need to actually do the reading and assigning. Heres what ive started with. Thanks in advance.
Code Snippet
Dim ofd As New OpenFileDialog()
ofd.Filter = "Input Files(*.i
-
- Reg-SOA
by vengattaragavan
- 4 Replies
- Last post
by MS Johan Stenberg
- Hi all,
Can anybody brief why SOA is considered while developing web services application.
venkat.
-
- Displaying scaled images (PictureBox or alternative)?
by Jason Payne
- 1 Replies
- Last post
by Rykler
- I have an app in which I would like to display images, many of which will be larger than the size of the form in which they are being displayed. Basically, I want to display a scaled-down image, but PictureBox's modes only allow Centered, which will not resize the image at all and only display part of it, or Stretched, which will distort the image if the control's size is not in the same ratio as
-
- HELP! Export DataGridView to text file
by ISSOA
- 14 Replies
- Last post
by ISSOA
- I have a requirement to allow a user to query data from the table based on keywords and return the data to a datagridview. Once in the view, they would need to be able to select specific records from the view and export it to a .txt file. I have a specific format for the .txt file. It lists the fields from the database and requires a [ after each field as a delimiter. The .txt file could have 1-50
-
- Is Paint event the final way for restoring my image?
by Mirarefin
- 1 Replies
- Last post
by JohnWein
- I am drawing a histogram of an image in a picturebox; When a form is opened infront of the picturebox my histogram is being cleared.
Someone says this drawing (histogram drawing) should be written in Paint Event. but paint event is very slow and it slows my program ;because the drawing is big ; and also in some situations this way not works well and the new picture is not correctly repainted.
-
- Memory error when VB exe Exits
by sckoobs
- 2 Replies
- Last post
by Bruno Yu - MSFT
- I have a problem with a VB exe that I have built and am running on a Windows 2000 SP3 environment.
It appears that whatever code is executed after the natural termination of the program (i.e. running to its conclusion) is generating an error (below is a copy from the event log):
Code Snippet
Event Type: Information Event Source: Application Popup Event Category: None Event ID: 26
-
- DGV: Load images from files in datagridview
by dox22
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi, I'm using DGV (DataGridView) to put text and images, I'm load images in this way: DGV_Antenas.Rows(0).Cells(3).Value = Image.FromFile("C:\Temp.jpg") But when I try to delete that that image for load another image, I get an error, because the file is in use, how correct that . I try load nothing and delete, but I obtain the same result. DGV_Antenas.Rows(0).Cells(3).Value = Nothing fil
-
- Run new Process In front Window
by AamirKhurshid
- 5 Replies
- Last post
by cybertaz69
- Hello All,
I have Form property set to TopMost.I have One Button Control on it.code behind that Button is
System.Diagnostics.Process.Start("notepad.exe")
Now wen i click that button notepad opens in back window.
I want to open it in Front of that Form.
Regards,
Aamir
-
- converting values to 2 decimal places?
by Prince of Dhump
- 2 Replies
- Last post
by SJWhiteley
- Hi,
I have some values which are stored as money type in sql server. The problem is when i got the values i have this 4 digits after a floating point which is annoying.
I need to show the users only 2 digits after the floating point and i'm struggling in this
What do i need to do to show the users like this, should i change the database type if it's not possible or restrict the user when
-
- AutoRecover Not Working
by BobInIndy
- 14 Replies
- Last post
by johnof
- In VS05, we have autorecove set to every 7 minutes and save them for 7 days.
The help says they are saved in \...\My Documents\Visual Studio 2005\Backup Files\< projectname >. However, the project name is there, but the folder is empty.
The actual path of our project is
C:\CS\CSolution_Telephony
Any ideas on why autorecover is not working
Bob Day
-
- Debugging nightma cannot drill down into object collections in QuickWatch window
by Yibbler
- 9 Replies
- Last post
by .NETicated!
- My colleague and I have recently upgraded our projects from .NET Framework 1.0 and VS2002 to .NET Framework 2.0 and VS2005. We also applied the latest VS2005 service pack.
Our problem: normally when debugging we use the QuickWatch window to drill down into and view collections of objects belonging to the parent object we are "watching". THIS NO LONGER WORKS...instead, we get a message
-
- Performing actions on files in a folder - collections question
by GerardL
- 5 Replies
- Last post
by GerardL
- Hi, I want to perform some actions on a series of .htm files in a folder I have. Those actions are opening, reading from, writing to and closing those files. I don't care how many files are in the directory, but I do need the same actions to be performed upon each and everyone of them. I also don't really care what the names of those .htm files are and I certainly don't know what they will be so I
-
- My.Blogs Error - ProjectType value did not exist.
by Wardster
- 12 Replies
- Last post
by JamieWP
- I am trying to install the My.Blogs sample. I am running VS2005 Pro on WindowsXP Pro SP2. The template installation fails with the error message:
Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio.
Is My.Blogs a beta2 only thing I am running release VS2005. Are there manual instructions for i
-
- have problems writing a function
by Shimi Weitzhandler
- 9 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- 1) I'am trying to write a function like this:
Code Snippet
Private Sub TextBox1_TextChanged( sender As System.Object, e _
As System.EventArgs) Handles TextBox1.TextChanged
If Not myfunction(sender, "Hello" , ErrorProvider1) Then
Exit Sub
End If
End Sub
Public Function MyFunction( TB As TextBox, Str As Strin
-
- Simplify Form Close
by Cesar Francisco
- 14 Replies
- Last post
by Cesar Francisco
- Code Snippet
Private Sub Electronics_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Electronics.Click
If HElectronicsForm.Visible Then
Exit Sub
Else : HElectronicsForm.Show()
End If
HClothingForm.Close()
HClothingSeeAll.Close()
HDentalForm.Close()
HDentalSeeAll.Close()
HEducationForm.Close()
HEducationSeeAll.Close()
HEnter
-
- Can I create wizards for my program?
by IceAngel89
- 5 Replies
- Last post
by twotoed
- i was just wondering if I create wizards for my program like to accept input from user then process them and stuff.