Vb2005 Open With Associated App?
Jul 26, 2010
I have a text editor that handles .txt and .rtf files. Using the installer, I have associated .txt and .rtf files with my text editor. This can also be done programmatically or using Windows' "open with" dialog and checking "always use the selected program to open this kind of file".The problem is, when I click on a text file and it opens my app, it doesn't load the file. I have searched everywhere I know to look, but can't find a hint of how to do it. I just keep finding code to associate the files with the program (none that work without errors). But, nothing whatsoever to open the app and load the file that was double clicked.
View 2 Replies
ADVERTISEMENT
Jun 15, 2011
I am having problem opening multiple textfiles to multiple worksheets in excel. so far, if i have multiple textfiles selected, it will onl open one worksheet in excel of last file.
[Code]...
View 1 Replies
Jul 9, 2009
Is there a simple way to convert MP3 to WAV in vb2005?what i would like to do is play MP3 files in vb2005 but first they need to be converted to a byte(memory) wave string before they can be played internally by the program unless someone else built a class or module for this already.
View 2 Replies
Mar 16, 2009
I've seen so many posts on this but I just don't understand how to fix it.
HTML
Me.txtDeletedItem.Text = objDeleteLog.Name
[b]Me.txtDeleteReason.Text = objDeleteLog.Code.Description[/b]
[code]....
View 2 Replies
Jan 25, 2011
how to program VB2005 for use with USB. I have read 2 chapters from "USB complete" and found that it was complicated. Is there an easier way to work with USB in VB2005?
View 2 Replies
Mar 23, 2011
i was connect to my *.mdf file
when i use this code to select some data in my database
Dim da As New SqlDataAdapter("Select colums1, sum(colums2) From debts Where debts.colum3 ='somthing' group by somecolums", SQLConnection)
Dim ds As New DataSet("debts")
[Code]....
change my SQL connection string to work with "sum" and "group by"
View 6 Replies
Sep 28, 2011
Whats the best way to go through all the controls on a form in vb2005? Im writing a program that can edit a string of bytes based on the information on the form. each control is tagged with the hex address it modifies and values it can be, what is the best way to go through all the controls on a form even those controls embedded in other controls?
View 1 Replies
Feb 27, 2010
How to add music in the form (VB2005)
View 3 Replies
Mar 26, 2009
i face big problem my Doctor want this code in vb 2005 or Vb6 who can convert to vb2005 and make it run like the c++ version
[Code]...
View 6 Replies
Feb 28, 2012
I am having trouble coding a 'map editor' with .net. This code works in VB6:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
For Z As Integer = 1 To 20
For W As Integer = 1 To 20
Tile(Z, W) = 1
TileA(Z, W) = 1
TileB(Z, W) = 0
[Code]...
View 2 Replies
Mar 3, 2010
i wish if any one can help me in this:i finished from my project and i want now to conver it to an executable file before it can be used or installed in a workstation.
View 1 Replies
Jul 5, 2011
I have many projects VB 2005 ... the question is:
How could I open these projects with VB 2010 version?
View 3 Replies
Jan 28, 2009
I'm trying to find out how to Edit/add/read individual subitems in a populated Listview box I seem to be going round and round in circles looking on the "net"
View 6 Replies
Jul 22, 2009
I am trying to build a resource file for a website basically jamming all the images into a compressed file that is then unpacked on the output buffers to the client. my question is in vb2005 can a filestream be multi threaded if you know the size of the converted file, ala like a bit torrent and work on pieces of the filestream ( the individual files in this case) and add them to the resource filestream when they are done instead of one at a time?
View 2 Replies
Feb 23, 2009
I have created a project in VB2005, and I am using ms access 2003 as the database. I have created a report in ms access and I have also created a macro. I have added the following code to open the macro, but when i click on the button to call the procedure I get the following message:
Dim Adb As New Microsoft.Office.Interop.Access.Application()
Adb.OpenCurrentDatabase("C:program filesSupport DeskAccessdatabase.mdb")
Adb.DoCmd.RunMacro("Macro2")
When I run the code, and I call the procedure to call the Macro, nothing happends, I don't get an error or anything, what a my missing? The macro does exist.
View 2 Replies
Dec 11, 2008
After I finish my project I'll create a setup for it and give it a serial number.But unformatted it could install on many PC.I have heard that I can create a serial number with the number of the motherboard of PC. Is this possible?I was working on accounting program. This program was protected from a steal by a piece insert in the usb of the PC. So the program was working only for a few days if that piece doesn't inserted.
View 7 Replies
Apr 5, 2010
I have a SeaI/O 462 module and I can't find the codes to use it with VB2005.
View 1 Replies
Mar 24, 2011
How do I detect a left-to-right and right-to-left scrolling, whether I slide the scrollbar or click on the right or left scroll arrow? I saw that there was a RightToLeft property but I don't know how to use it.
View 2 Replies
Nov 22, 2006
I have a datagridview that contains the column "Amount".
I also have a textbox
I want the sum of the column "amount" to appear in the textbox
I have tried the following:VB
dim total as Integer
For Each row As DataGridViewRow In TblBetalingAanMedewerkerDataGridView.Rows
Total += row.Cells("Bedrag").Value
Next
txtTotaalBedrag.Text = Total
I get the message "Cant find column "amount".Parametername: ColumnName
Do you guys have an idea what i am doing wrong????
View 10 Replies
Oct 12, 2011
I developed a very simple little windows program in VB 2005 to be used on desktops here at HQ. It reads a table from an Oracle DB into an array, let's the user select a text file, and then uses that data and text file to create an Excel spreadsheet.
Now they want a remote user to have access to it. We use Citrix for our remote application access. There is no install, I just copy the code to the Citrix server so I didn't need to put terminal server in install mode. When I am on the Citrix server, the application runs well. When I access the application through Citrix, I get an Oracle error from the ODBC data manager: Data source name not found and no default driver specified.
Does anybody know what is going on? how to make it work?
Are there any papers related to Windows applications on Citrix server that can help?
View 3 Replies
Apr 29, 2009
I am attempting to write a routine that will accurately scale an image to the specified size while keeping the original aspect ratio of the source image.Most [if not all] of the images that the program will be working with will either be 4x3 or 3x4 ratio and normally will be output at 800x600 or 600x800The thing that has me stumped at the moment is what kind of formula I would need to use to resize at image that does not meet the 4x3 ratio. Something like say a 600x255 image or a 255x600 or some other oddball size.
View 3 Replies
Dec 7, 2008
Is there any easy way, or any pre-existing code I can uslp me log (to a text file) values of variables in my program every time they change? uld choose which variables are reported. At the moment I'm having to do this manually with bespoke code - I just wondered if there was an easier way, such as some magic built-in function?
View 1 Replies
Aug 31, 2009
Is it possible to get the arguments from a sub or function in vb2005 as an array?
View 4 Replies
Jul 19, 2011
On the compile tab of the project properties: If you look at the configuration dropdown it typically shows debug/release/active/all. I attempted to add another option at one point in the build->configuration manager window, but decided that I didn't want to keep it. I removed it there, but it keeps showing up in the dropdown on the properties, as well as generates a folder by that name.
Does anyone know how to remove this? I can't find any "delete" or otherwise options.
View 1 Replies
Apr 4, 2012
How can I add data to databound combobox in vb 2005
View 1 Replies
Jan 12, 2007
I'm looking into purchasing VB2005 will I need more purchasing to be able to print barcode (128)? Where can I find sample codes for doing this?
View 5 Replies
May 22, 2009
I have a problem with binding navigator in vb2005 express. It won't update and delete records.
View 1 Replies
Jan 10, 2006
When I try to make a new workbook from excel it doesn't work and returning the following error:
System.Runtime.InteropServices.COMException was unhandled ErrorCode=-2147319784 Message="Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))" Source="Microsoft.Office.Interop.Excel" StackTrace:
[Code].....
View 2 Replies
May 5, 2006
I'm trying to upgrade a VB 6 project which uses a component called MSGrid, or grid32.ocx; the conversion seems to have a problem finding a more modern replacement for it. When I try to open a form that uses the grid control, I get
One or more errors encountered while loading the designer The designer cannot process the code at line 289: CfGrid.OcxState = CType(resources.GetObject("CfGrid.OcxState"), System.Windows.Forms.AxHost.State) The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.
But I can't remove the changes since I can't get into the form designer on account of the error. I don't need a data-bound control, just a simple grid. How do I remove the offending object and replace it with a more acceptable version?
View 1 Replies
Mar 6, 2011
I'm trying to create a control array in VB2005. As I've said in other questions, I've been working in VB5 for a good while but I'm new to VB2005. I know how to set the array up in VB5 but it doesn't work in VB2005. I tried some code that someone told me about, but it's not working. I have several books on programming VB2005 but
Here's my code as it stands now:
Public
Class frmMain
Public lblFasting(30)
[Code].....
View 16 Replies