Hi,
Has anyone got any idea how to call wextract.exe? I was previously using Extract.exe (DOS-based), so I was using something of the form:
ShellExecute(NULL, // hWnd - window handle
"open", // operation
"extract.exe", // file
"/Y/A/E/L c:\Temp...
I'm probably missing something blatant as I'm new to C++. However, I can't seem to get CString to work. At the moment I'm just trying a test line, copied from VStudio help to try to get it to work. I'm using:
#include <string.h>
CString strName = _T("Name");
(I'm not entirely sure...
I've been told that using system(...) to run external applications is bad practice.
Currently I'm using the following line of code:
system("a:\\Extract.exe /Y/A/E/L "+targetDir+" a:\\TSPDv.cab");
This is supposed to extract a cab file to targetDir. If this really is bad...
Hi,
I'm pretty new to this c++ programming...did Java before - its so much easier to find information out about!! Anyway...
I need to find an entry in the system registry, so that I can write a few files to the correct location. Searching on the net has produced nothing but huge packages which...
Hi all,
I'm trying to adapt some open-source code to my needs, however the open source code which I am trying to use doesn't entirely work itself. The code can be downloaded from http://www.pointing.com/Wintab/WTEXVB6.ZIP
The problem is that I do not understand how the dll is updating the data...
Hi people,
I need to get the coordinates of the pen-position on a tablet. Hence I need to access the API within Wintab.dll which can give me this information.
Does anyone know
- the name of this API
- whether it requires any parameters to be passed
- what data-type it returns
Also obviously...
I have a project where I am updating some old Basic code, written for DOS!! This program reads in coordinates from a tablet and then does some integration calculations.
The problem is arising with communicating with the tablet.
I now have a new tablet (a Wacom Intuos2). I have installed all...
I have a form, on which I have set the property WindowState to 2-Maximized.
However when you change the state of the taskbar eg to AutoHide or make it larger/smaller, the size of the maximized form does not change to compensate. Whatever the state of the toolbar, the form takes up the entire...
I'm trying to stop users using tab to stop on either of two option buttons inside a frame.
However after setting tabstop to false at both runtime and design time, pressing tab still allows the user to give focus to the option buttons.
Why is this happening and how do I get it to work?
This should be really easy, but I cannot seem to do it...
How do I change the font color of a cmd button?
You don't seriously have to take a screenshot of the text you want and use a graphical button do you? If this is the case then how can I trigger the button using shortcuts like Alt+A...
Hi all
I have been told I need my .exe to reside on the server, but be executed on multiple desktops. The company have decided this as when updates are made, they only need to update the one file.
The question is: do I still need to install all the dlls on each user-computer, or as the exe is...
I'm trying to get the frm.Width and frm.Height properties at run-time, so as I can position my controls on the form. The problem is that I want the form to be maximized on opening (hence I have set the windowstate to maximized), however this does not adjust the .Width and .Height properties...
Hi guys
I was wandering where I can find icon cmdbuttons, such as an "i" for information and a 3-1/2" disk for save, a printer picture for print etc. Is there a resource somewhere which does these?
Please excuse me as I am new to VB!!
I am using a replace function to correctly capitalise a word. ie I want the word to be "PDXtra", which means that all versions: "pdxtra", "pdextra" and "pd extra" must be changed, no matter where in the word there are capitals.
Basically I need a replace...
Is it possible to pass parameters to a form_load event, or any other VB-generated event? eg is it possible to do:
Private Sub Form_Load(var1 As Long, var2 As String)
And then in the calling procedure do something like:
Load Form1(FirstVariable, SecondVariable)
Any insight is appreciated. Thanks
Hi guys,
I have a VB frontend on a MSAccess2000 database.
When I want to edit a record I use SQL to call it from the table ie
rs.Source = "SELECT * FROM tblInstance "& _
"WHERE SerialNo = " & txtSerialNo.Text
The problem is that I want to lock the record so that only one...
How do I make a form take up the entire screen? I also want the form not to have any control points for resizing etc and no way out of the form unless you do something like right-click on it, which will bring up a menu.
Basically I want to what a DVD player does when it takes up the entire...
Hi all
The aim I have is to add a new record to a single table. However the way I am doing it at the moment means I am opening the entire table in a recordset and then updating...I'm guessing this is not particularly efficient.
Is there a better way to add/append a new record to the end of an...
I have used the format below to successfully call single records from an MSAccess database. However if I attempt use a query which returns more than one record then rs.recordcount = -1 and there appear to be no records in the rs. What am I doing wrong?
Dim rs As ADODB.Recordset, strParameter As...
Hi folks!
For some reason this little bit of code works when I step through with the debug toolbar, but not when I just tell it to run. Why is this and how do I make it work as it should do?
In calling sub
If InCboBox(cboDesc, cboDesc.Text) = False Then
cboDesc.Clear
If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.