keithster's Q&A profile
.NET Development Pressing enter key causes my web page to load again.
Hi , I am facing a strange problem with the ASP.NET (with VB.NET) user controls. My user control contains only one text box web control and some other controls (but one and only one text box). I put this user control on a webform (web form also does'nt have any text box control) and request that web form through "http:// " request. Now, when i put some text in the text box and press the "Enter" key (while the cursor is still in the textbox ) the webform reloads i.e. Page_load event is called again for the webform and subsequentally for my user control. This initializes my user control to blank sta ...Show All
Visual Studio Express Editions Minimize to system tray
Hi, Im looking for a solution to minimize my form in the system tray and restore it from the tray. I found alot of sites that use the 'DrawAnimatedRects' function that windows use to minimize and maximize window-forms. All this codes were in c++ or vb6. Is there anyway to use this function in vb2005 Here is an Example that i found at http://www.activevb.de/tipps/vb6tipps/tipp0182.html Option Explicit Private Declare Function SetRect Lib "User32" (lpRect _ As RECT, ByVal X1 As Long , ByVal Y1 As Long , ByVal _ X2 As Long , ByVal Y2 As Long ) As Long Private Declare Function DrawAnimatedRect ...Show All
Windows Forms Formatted AutoNumber Fields
I have an access database, which has an autonumber field in a specific table. This field is formatted as follows, and is also the primary key for the table "CS-"00000 Thus, each time a new record is added to the table, access assigns the new record with the value (ie, CS-00001, CS-00002 etc) When connecting this database to a project in VB 2005, the datagridview or textboxes only display the numeric value (1,2 etc) Is there anyway that anyone knows how i might get the program to display the full CS-0001 etc for each record, rather than just the number Is there specfic formatting i can apply to the datatable inside m ...Show All
Visual C++ Visual Studio 2005 - MFC compile error
Hi! I just installed MS Visual Studio 2005 and wanted to build a new MFC application. I used the project wizard to create a new "framework" for my app. But already at this point the compiler gives errors like "c:\programme\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(228) : error C2065: 'DWORD_PTR' : undeclared identifier". My question now is how I can fix this problem, so that I can compile the Code which the project wizard gave me PS: The problem is not because it didn't include windows.h. Your include directories may be pointing to an older incompatible PSDK ...Show All
Visual Studio Do I really need subreport links for independent subreports?
Hi all, I have been Google-ing and searching for an answer to this simple question, but to avail. I have created a complex report which contains 4 subreports. These subreports run independently from the main report (ie. the main report and each subreport has it's own SQL Statement which run independantly from each other) and there are no subreport links because there is no need - the subreports do not reference any fields etc from the main report. My question is: In this sort of situation, do I need subreport links It is possible for me to link all the subreports to the main report, but is this really necessary Will it speed up ...Show All
Windows Forms Click event in child controls
Hi everyone, I have a User Control and of course it has child controls on it. Most of them are created dynamically. I need my user control to handle situation when i click on it (no matter where i clicked or which control was under the mouse). What can i do PS: handling user control's "child control added" event is a bad idea in&n ...Show All
Windows Forms MDI Child as MDIContainer?
I've been checking a lot of sources on this, but can't find anything that says whether this can be done or not. Is it possible to have an MDIContainer form with an MDIChild that is also an MDIContainer with child forms of its own If you could point me to some definitive source on this as well, I'd appreciate that. Thanks! ...Show All
Visual FoxPro huella digital
como le puedo hacer para integrar un lector de huella digital a mi aplicacion, el lector es digitalpersona(marca), requiero hacer una base de datos de las mismas y poder consultarlas si trae manual, pero solo es la instalacion personal o sea en la misma computadora y requiero de hacer una base de datos con las huellas digitales de todos los empleados. ...Show All
Visual C++ fatal error LNK1181: cannot open input file ",.obj"
I compiled my program after doing all those settings in "Project Setting Menu" but i got an error : fatal error LNK1181: cannot open input file ",.obj" I think there is some problem in the settings. I checked all the settings tht i know but still not able to remove this error. If anyone know about the settings in VC++ then plz reply any help will be of great use Thanks in advance I checked my linker settings.. Earlier i was using comma to seperate entries sso in was getting error with ",.obj" input file Now, i replaced comma with semi-colon and now i am getting same error ...Show All
.NET Development Who can help me translate Visual basic 5.0 code in MSaccess 97 to Visual Basic .net 2003 code
Hello to you all... i got a small problem and i do not know how to solve it. Maybe someone of you out there knows the solution. Problem..: The code was taken out of my MSACCESS 97 database and written in visual basic in the modules section of MSaccess 97 This works fine in access... Everytime i call SetVolgnr() the Field REVOLG is updated with one (Read: REVOLG=REVOLG+1) Remark: CurrentDb = Leon-NAW.MDB Remark: Volgnumber = one of the tables out of Leon-NAW.MDB Remark: REVOLG = the only field in table VolgNumber (with only one record) Remark: This is the code Publ ...Show All
Visual C++ newb problem processing arrays with functions
Hi, I've been working on a class project to read in an array of structs, process them, then output to a file. The project reads in the array correctly however, it's not being processed correctly, the output is all zeros. It's prolly something easy but i just can't see what i did wrong. Any help is much appreciated, thanks! Here's some of the code: fill array function: int fillArray(PayRoll[]); int count ; PayRoll pr[MAX_EMP]; count = fillArray(payRoll); int fillArray(PayRoll pr[]) { void openInOutFiles(ifstream&,ofstream&); int count = 0; openInOutFiles(fin,fout); //open ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual C++ Express and DirectX
I am trying to learn how to program with DirectX, but all of the sample projects refuse to run under Visual C++ Express 2005. I understand that there are limitations to VC++ Express that prevent the use of MFC and ATL (naturally, I don't know what they are), and I think I am supposed to be using something else called CLR. I was wondering...are there any tutorials yet specifically designed for doing DirectX Programming with Visual C++ 2005 Express Edition I have not done much with the C++ Express products, but from my understanding to use it with directX you need to make sure that you have the platform S ...Show All
Visual Studio Team System 2 Questions
Heard good things about performance testing with this tool. 2 Questions: 1. Is a free eval version available 2. Does the tool work with web apps that use client side digital certificates 1. The beta and CTP releases are available to all MSDN subscribers for download. 2. The upcoming July CTP will contain support for client-side x.509 SSL certificates. The beta2 release did not have that feature. Josh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SDK Error when running (Debugging) application
Howdy All, Upfront Info : Windows XP Pro SP2, DirectX 9.0c (w /August SDK) C# 2005 Express IDE I have created a simple little DX app using the MS tutorials and other information that I have found on the internet. All works well until I add a Dialog to the app. private Dialog myDialog = null; myDialog = new Dialog(framework) There are no controls added to the Dialog only the creation of the initial instance. The app compiles without complaint, but when I start debugging to see it run, I receive the following error. "Could not find required media. Ensure that the DirectX SDK is correctly installed." I'll admit I am stumped. The error does ...Show All
Visual Studio Express Editions problems migrating from visual c++ 6.0 to the .NET express environment
Hi everyone. First of all, I'm new to the .NET framework but have much experience in MFC and in VISUAL c++ 6.0. I'm now trying to migrate a project I have on the 6.0 to the express version and boy, this is difficult .... some examples : stdafx.h, makes many problems. evantualy I made an empty header by that name and now it seems to be compilng - I'm not sure though what is the effect on the code of my workaround. A few more compiling problems that I don't know how to resolve : 1. I have a class in Visual c++ 6.0 defined like : class CamsStack : public CList< void *, void *&> How do I compile the same in the Visual ...Show All
