I am trying to pull data from a table that has production volumes by date. What I want to do is create a crosstab with the different operations as rows and consecutive weeks (beginning Jan 1, 2007) as the columns. For example:
Seq Wk1 Wk2 Wk3 Wk4...
100 50 75 80...
Currently I have a pdf file of a label that we place on our packaging. What I would like to do is add form fields that a user could enter info in prior to printing.
My question is this - the label itself is pre-printed with blanks for filling in the serial number, description, etc. We've always...
I have created a ASP.NET datagrid (c#) that is bound to a SQL Server DB. Upon initiation, it populates a number of columns with data from the DB. I would like to be able to edit each cell and save the results in the datagrid without posting them back to the DB table. My application is based on...
I am trying my best to find some example for inserting text into a Word document's Footer using VC++ 6.0. It seems I can find an example on using Word Automation to do just about everything but this.
A simple example would be greatly appreciated.
Thanks in advance!
I am very new at c# and this whole .Net thing. I've been programming in c++ for years and have been asked to write something in c#.
Here's my question...
How do you add a column containing a button for each row in a datagrid? Does anyone have a sample I can learn from? I found one and can get...
I'm using a Listbox (multiple selection) to allow a user to select a number of different Purchase Orders to process. This is fine if there are only a few. However, towards the end of the month there can be thousands listed and if I want to process the first 200, the user has to select them one...
I've been trying to return data from an ODBC database and display it in a tabbed dialog (property page). The code compiles just fine, but I get a runtime error during execution. Specifically,
ERROR MESSAGE:
TRACE0("ASSERT_VALID fails with NULL pointer.\n");
if...
I've been working on this little project for weeks and I'm stuck.
I have created a dialog that has three tabbed property pages. Each one contains text boxes for entering different types of data for an employee. Each employee has a single database entry (1 row) that lists all the information...
I've been working on this little project for weeks and I'm stuck.
I have created a dialog that has three tabbed property pages. Each one contains text boxes for entering different types of data for an employee. Each employee has a single database entry (1 row) that lists all the information...
On pressing a button, I would like to move data from a 3 column CListCtrl to another 3 column CListCtrl. This is what I've done:
CListCtrl *pChoices, *pSelected;
pChoices = (CListCtrl *) GetDlgItem( IDS_CHOICES );
pSelected = (CListCtrl *) GetDlgItem( IDS_SELECTED );
CString sSerial...
I am reading in text from a file and putting grouped data into 3 CStrings. For example, the file has text arranged as so...
Housing 226452 Text1 Text2 Text3
R Leaflet 923411 Text1 Text2 Text3
L Leaflet 821212 Text1 Text2 Text3
Housing 124452 Text1 Text2 Text3
R Leaflet 133411 Text1...
I am trying to write a simple SQL SELECT statement for listing data pulled from two Pervasive.SQL tables.
Table 1 (Part Lot)
Fields: STK_68, SERIAL_68, LOTNUM_68...
Table 2 (Order Master)
Fields: LOTNUM_10, UDFKEY_10...
My SQL statment reads:
SELECT [SERIAL_68], [UDFKEY_10] FROM "Part...
I've written an application for NT that basically acts as a user interface for another program that we have running on an SGI Unix machine (we need the 64-bit computing power of the SGI). The NT app was written and compiled using VC++ 6.0 and the Unix app was written in ANSI C and compiled on...
I have written 2 applications that I need some help with. One was written using ANSI C and compiled on an SGI UNIX Workstation. The other was written in MS VC++ and compiled for use on an NT network. Here's my question:
I need the NT application to make a call through the network and execute...
I have written 2 applications that I need some help with. One was written using ANSI C and compiled on an SGI UNIX Workstation. The other was written in MS VC++ and compiled for use on an NT network. Here's my question:
I need the NT application to make a call through the network and execute...
I wrote the following to allow an application to map a drive dynamically so that the client computer doesn't have to have a permanently mapped drive.
afx_msg void Dataplot_GUIDlg::MapDrive()
{
NETRESOURCE connV;
NETRESOURCE connZ;
DWORD V;
DWORD Z;
TCHAR szLocalVName[32] = "V:"...
Has anyone ever "mapped" a network drive from within a vc++ application?
I have written an app that calls another .exe file which needs access to a network drive. I tried setting the whole thing up using UNC pathnames but it wouldn't work. It is an old DOS program that basically runs...
I've created an ODBC database with a single table named "Housings". This table has 8 different fields that I would like to add data from a VC++ application. I've completed everything up to the point of interfacing with the database. I connect as follows:
if(!database.Open(NULL...
CString::Find is useful for locating a single character within a string but how would one use it (if possible) to find the location of a "sub-string" within a longer string. For example, lets say I have a text file containing the string "19mm". Can I still use the Find...
Does anyone know of a good program for documenting VC++ code? I'm looking for something, preferably shareware, that will analyze large projects and provide documentation of the code's class structure, etc. I've heard doc++ is fairly good, but have had some problems compiling it to run on an NT...
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.