Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: perplexd
  • Content: Threads
  • Order by date
  1. perplexd

    Calling wextract.exe

    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...
  2. perplexd

    Why won't CString work???

    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(&quot;Name&quot;); (I'm not entirely sure...
  3. perplexd

    Using system(...) to run external applications

    I've been told that using system(...) to run external applications is bad practice. Currently I'm using the following line of code: system(&quot;a:\\Extract.exe /Y/A/E/L &quot;+targetDir+&quot; a:\\TSPDv.cab&quot;); This is supposed to extract a cab file to targetDir. If this really is bad...
  4. perplexd

    Searching the System Registry

    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...
  5. perplexd

    wintab32.dll &amp; sample tablet application problems

    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...
  6. perplexd

    Coordinates API within Wintab32.dll

    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...
  7. perplexd

    Using Serial Tablets

    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...
  8. perplexd

    Maximized form goes behind taskbar, rather than resizing

    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...
  9. perplexd

    TabStop not working with option button

    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?
  10. perplexd

    How to change font colour of cmd buttons

    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...
  11. perplexd

    Running an .exe which resides on a server from a desktop

    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...
  12. perplexd

    How to get frm.Width &amp; frm.Height when window is maximized

    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...
  13. perplexd

    Where do I get icon-cmdbuttons from?

    Hi guys I was wandering where I can find icon cmdbuttons, such as an &quot;i&quot; for information and a 3-1/2&quot; 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!!
  14. perplexd

    A better replace function

    I am using a replace function to correctly capitalise a word. ie I want the word to be &quot;PDXtra&quot;, which means that all versions: &quot;pdxtra&quot;, &quot;pdextra&quot; and &quot;pd extra&quot; must be changed, no matter where in the word there are capitals. Basically I need a replace...
  15. perplexd

    Can you pass variables to a Form_Load event procedure?

    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
  16. perplexd

    Locking records on MSAccess database

    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 = &quot;SELECT * FROM tblInstance &quot;& _ &quot;WHERE SerialNo = &quot; & txtSerialNo.Text The problem is that I want to lock the record so that only one...
  17. perplexd

    Take up entire screen with a form

    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...
  18. perplexd

    .AddNew without opening entire tbl in recordset

    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...
  19. perplexd

    Passing Parameters to MSAccess stored procedures

    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...
  20. perplexd

    Works when step-through, but not when running...WHY???

    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...

Part and Inventory Search

Back
Top