Zip A File With Visual Basic Application?
Oct 24, 2011What is the best way to zip a file with my visual basic application?
View 2 RepliesWhat is the best way to zip a file with my visual basic application?
View 2 RepliesIt needs to be run standalone on NT How do you launch a VB app without VB being installed on the run-time computer? The VB executable will be on a CD. It can be standalone or as part of a bat file.
View 5 Replies1st i make resource file 2nd in module i make this : I don't have errors but it is not working here's i want to do; i want to move a file that a player/person who is using this doesn't see how it copy and past into folder
[Code]...
I don't have errors but it is not working here's i want to do; i want to move a file that a player/person who is using this doesn't see how it copy and past into folder
I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.
Can anyone provide me a method or sample code to do this?
I need to send a short string, (less than 30 bytes, but sent every second), from one VB application, to a Delphi application.. is this possible, using CopyDataStruct, WM_COPYDATA and SendMessage functions in Windows?
View 1 Repliesmy code is giving me a serious problems i thought my code has worked prefectly but theresulting valuesare not corresponding with the typed sentences in the text box .i thought when i had trimmed my sentences the code would work but thatis not the case now .i am requesting full assitance with my code is displayed here:
Dim txtInput
As
String =
[code].....
I'm a complete beginner to Visual Basic & am hoping to get a solution here.(VB version = Microsoft Visual Basic 2008 Express Edition)I'm trying to use VB to construct a GUI that runs an external application w/ arguments. The actual app is a DB builder that takes 3 arguments:
- a working directory ( flag = -d )
- an output directory ( flag = -o )
- an input text file
When I run the application from a DOS window it works fine as follows:
[Code]...
How to Exit Application in Visual Basic
View 2 RepliesI am looking for some tip on how to send keystroke of a mouse button click. Basically my requirement is when a list box is dropped it shows a datagrid, right now user has to click 2 times to get focus on datagrid, although i send a focus on datagrid when list is dropped from dropdown event still the focus stays on list box, i have to click 1 time to release focus from listbox then click on datagrid to set focus. I like to automate this 2 clicks with a keystroke. I dont see any mouse button click keystrokes.
View 4 RepliesHow do I go about enabling web features in my application? I'm wanting to put in a title in my application send it to imbd.com and scrape the site for the results to display in my application. Can anyone direct me to a tutorial or simply tell me how to go about implementing this type of feature?
View 2 RepliesHow do I completely remove a visual basic application?
View 3 RepliesI was wondering if someone could tell me how to print text from a console application to the default printer.
View 1 RepliesWe are installing our application on windows 7. The application utlizes a Acces database. The application locates the database by looking in the registry under at HKEY_LOCAL_MACHINE / SOFTWARE / WOW6432NODE / COMPANY NAME / SOFTWARE NAME /STARTUP. When i install the application on windows 7 it places the a database where installshield directs it to and writes the path to the registry. However, somehow local copies of the database are showing up under the user profiles. (Example: c:/users/profilename/AppData/Local/VirtualStore/Program FIles (X86)/Company/SoftwareName/Data). We recently changed it to store the information in c:/ProgramData/Company/software however the same issue occurs and its creating local copies of the database and when the application runs it points to the local copy of the database. What we need is for all users to be pointed to and use the same database in ProgramData, is there something we are missing to accomplish this?
View 10 Replieshow to make that application send a http request via POST to a file on my webserver with the username / pw.
After all the tutotials I've been reading, I concluded that none worth spending my time with, because they all based on own database, and I'm looking for one that connects to a maestro server and requests the data from there.
I cant find any documentation on making an API for a visual basic application. Does anyone have any ideas where I could start?
View 12 RepliesI have to write an application in Visual Basic.Net that will open an excel file, run through the contents an export a test file for processing.
The application works great for me (Windows 7) but when transferred to a WinXP PC gives the following error: HResult 0X800A03EC
I can replicate this error by making the Excel Application visible so it seems like it is an issue where it can't access the file because it is open. Error occurrs when trying open the workbook.
Original Code
Dim excel As Excel.Application
Dim wb As Excel.Workbook
[Code].....
How can I open a Visual Basic application that I created in 2002? I downloaded a current version of Visual Basic Express and was able to connect a new project to the .mdb files but I couldn't figure out how to open the other files which I need to actually use the application.
Ideally I'd like to run the .exe file, but it doesn't seem to be compatible with Windows 64-bit. Alternatively I'd be happy recreating it with the various components if I could figure out how to access them.
As the title says, I have a program written in VB.net 2010. When I use the publish feature it creates a manifest and setup file that install the program nicely on another PC, but I think the security settings are somehow wrong because it sits there for ninety seconds upon launch. The program works fine on the computer that built it. There is no CPU usage while it is sitting around.
View 1 RepliesI am new to Visual Basic and i started to write a console application. I it working fine by now, but I tried to execute a command like shutdown -s I tried that by writing
console.writeline("shutdown -s")
but all it dows it displays the text and does not shutdown the computer. How do I code that correctly???
I must give my application local admin privacy so my application can acces and chnge (in this case uninstall) ,independently user's access level , I've local admin's pass .
Briefly : I must run as local admin .
I am creating a Visual Basic 2008 .net application that will be using the Sync Service for ADO.NET on Windows 7 Ultimate. The back end database is SQL 2008. Below are the basic steps I take when the error occurs
a. Add a Local Database Cache item to my application
b. Use the Configure Data Synchronication wizard for the setup process
c. Click the OK button to accept changes
d. An error message is generated, "The given key was not present in the dictionary".
I have attempted this several times and the error message presists no matter how I vary the options. I have also installed Microsoft Sync Framework 2.0 successfully but the error persists. I also have all the following Dlls referenced in my project:
Microsoft.Synchronization.dll,
Microsoft.Synchronization.Data.dll,
Microsoft.Synchronization.Data.Server.dll,
Microsoft.Synchronization.Data.SqlServer.dll,
Microsoft.Synchronization.Data.SqlServerCe.dll.
I am sure I don't need all of these references but I figured it does not hurt to have them all referenced for now. I have the latest OS service and Visual Studio 2008 service packs.
How do you extract source code from a VB.NET .EXE file?
View 3 RepliesAny advantages of protected modifiers in console application in Visual Basic .NET
View 2 RepliesDoes anyone know of a way to create a demo disc (CD) of a Visual Basic ClickOnce application? I used to be able to download the exe file and run it. I'd like to show my work via a disc rather than create a file to install on a users' computer.
View 2 Repliesi allready know i cant use sendkeys.send, whats the other code to do this?
View 2 RepliesI include the power packs in my app, and now I encounter problems when I try to deploy it to some other Win-XP machines which do not have Visual Studio (2008), although I include its DLL inside the installation package. The DLL is "C:Program FilesCommon FilesMicrosoft SharedVisual Basic Power Packs1.1Microsoft.VisualBasic.PowerPacks.Vs.dll" and I'm just copying it into the installation path. What am I missed?
[Code]...
Application based on Visual Basic 2008 and SQL Server 2005 using ODBC.
View 1 RepliesMy students did a tutorial in HTML Help Workshop to add Help files to a VB 2008 Windows application. They zipped the files and uploaded them to our class web site.
I downloaded them at home, unzipped, and tried to check, but every one shows Table of Contents or Index and cannot find the .htm documents for the topic. The same thing happened in my office. However, these projects work correctly in our classroom
lab and do display the .htm files.
I would like to ask how to connect our application to connected computers in a LAN.Will I use the winsock control?How can I run queries using a server database?Any answers are welcome.
View 3 RepliesI am a novice in programming and wrote several simple Windows Forms applications. I need to play mp3 file in Windows 7 x64 application.
Could you, please, explain in simple words, how to call MediaElement.Play() method from Windows Forms?