Search results

  1. N

    Selective overwrite with windows installer

    Hi all, I'm making a new Windows Installer for a new version of a program I wrote some time ago which includes some data/settings files. The problem is that the old version is already in use and I need the installer to be able to install the new version while leaving the original data files...
  2. N

    First time making program

    Firstly, what type of "solution"/"project" is it? If its just a simple WinForms .exe then you can just go to "Build" --> "Build Solution" and it will compile the exe and save it in the folder shown at "Build Output Path:" box on the "Compile" tab of the "Application Properties"...
  3. N

    Pass switches/command line args to standard WinForm exe on start up.

    Yep, Something exactly like that. It works perfectly and its exactly what I was looking for. Thanks heaps.
  4. N

    Pass switches/command line args to standard WinForm exe on start up.

    Hi, I've got a pogram that I wrote in vb.net which amongst other things is used to print out a form every friday. This is a standard vb.net winforms exe. This is all working fine although it would be good to automate this hopefully through "scheduled tasks". Consequently, I'm now trying to...
  5. N

    A step up from txt files.

    I dont doubt that, as I said I considered using winsock, but as these programs are running on multiple computers each with a Dynamic DHCP IP I decided the file flag was the easiest way. As I said, all input is welcome, so if you wish to shed some light on these better ways please feel free...
  6. N

    A step up from txt files.

    Ok, So I just added a Primary Key to the table in the database and everything works now. Sorry about the crazy posts, and answering my own questions. Its kind of thinking out loud I guess. All ideas are greatly appriciated though. Thanks for your input so far.
  7. N

    A step up from txt files.

    ...ok It worked for a little while but now the "Configure Data Addapter" wizard wont generate the Update or Delete commands. The delete one dosent matter, but the update one is rather essential. I dont know why, it just started doing it. When I ran the new app it threw an error saying it...
  8. N

    A step up from txt files.

    Well, thats what I was getting using "Microsoft Access Database File (OLE DB)" but when I changed the provider to "Microsoft.Jet.OLEDB.4.0" it went through straight away. ...Strange
  9. N

    A step up from txt files.

    Interesting, I think the external "flag" is a good idea, the Ordering software wont be "unattanded" but it needs to display new orders automatically. I think I've got what I need now... which is actually what I started with... but now it makes sense, so, heres the plan: The Sales program...
  10. N

    A step up from txt files.

    Ok... But... I dont need that second table your talking about, but the rest of what you say is exactly what I need. I need a table which allows the Sales team to add a row containing the info from the form via clicking the Submit button, and the same table (or actually only certain columns...
  11. N

    A step up from txt files.

    Nobody knows...? I guess what would work is being able to have 2 simultaneous Microsoft Jet Engine connections from two different programs on two different computers accessing the one single database, both at the same time. Or ANYTHING that will let me get a simmilar end result. PS. The...
  12. N

    A step up from txt files.

    Hi all, I'm writing a program which is in two parts, firstly. Sales: The "Sales" side of the software is just one form with several textboxes, a few checkboxes, a combobox and one button. The idea is that each person in sales has this running on their screen while with the customer, then as...
  13. N

    Version number without ClickOnce

    Hey look! An Assembly Information dialogue! ...well, now it all makes sense. Thats what I was looking for, sorry about the confusion and thanks for all your help.
  14. N

    Version number without ClickOnce

    I just opened the AssemblyInfo.vb file and set the file version, description, ect. in there then saved it and rebuilt the exe and everything is great, all the info I set is there in the exe. But its still completely irrelavant to any settings on the "Publish" tab. Reguardless, I can set...
  15. N

    Version number without ClickOnce

    Thats what I'm saying, the path in Build output path is "bin\Release\", but I didn't change it. Orriginally, it was "bin\Debug\" then it created the Release folder and sarted putting it there all on its own. Also, the file version through right click > properties > version, and using MsgBox...
  16. N

    Version number without ClickOnce

    Sorry, I tried again to make sure and the version stays at 1.0.0.0 even if I publish. But, using ClickOnce, the program does detect that a newer version is avaliable and updates properly and everything. But it still shows as 1.0.0.0 Is there any was I can set the install path for ClickOnce...
  17. N

    Version number without ClickOnce

    I assumed 'Assembly name' and 'description' werent the same thing, but Assembly name was set to "WindowsApplication1", which was the same as the description, so I thought it was worth a shot. I have saved and rebuilt the exe several times after settings the version to 1.0.1.0 and the exe still...
  18. N

    Version number without ClickOnce

    Seems, logical... But, on the applications tab the "Assembly Name" and "Root Namespace" are set to "TimeWatcher". On the "Publish" tab the version is set to Major:1 Minor:0 Build:1 Rev:0 And the "Publish location" is set to "C:\Publish" The output exe file however is version 1.0.0.0...
  19. N

    Version number without ClickOnce

    Hi, I've got a "Solution" that contains a single exe program and a windows installer setup which installs it and a few files it depends on. The problem is, I cant find anywhere where I can set the version number of the exe I made. The only way I can see to do this is using the "Publish" page...
  20. N

    Write ANSI text

    I may have been a little hastey, when I use System.Text.Encoding.Default the text file remains in ANSI format.
Top Bottom