KrazyKevin's Q&A profile
Visual C++ Getting File Created Date and Time
I'm trying to get the date/time a file was created and display it in a AFX message. I've got the display part finished but need help with getting the file date/time info. I see there are lots of ways in which to do this but I can't figure out which is the simplest or how to code it. All help is greatfully accepted. Hello: Please see the answer I posted on your other ...Show All
Visual Basic Window size?!?!
I work on a 17" Widescreen LCD monitor with a resolution of 1920 x 1200. How will I know if the Windows application I develop will fit on a 15" screen with a resolution of 1024 x 768 In VB6 there used to be the "Form Layout Window", is there anything similar in .NET 2003 Thanks Sorry, this little used feature was not implemented for VS.NET. You should be able to adjust your screen resolution to 1024x78 a ...Show All
Windows Forms Getting rid of the Focus Rectangle on a button
Hi, I've got images on my buttons. When I click on them, it displays the focus rectangle and sort of messes up the images. Any way to get rid of those rectangles I looked up the documentation and found stuff dealing with UICues including the&n ...Show All
Visual Studio Uninstall error when removing VS2003
My work PC is a Gateway PC with WinXP SP2 installed. When I try to uninstall VS.NET2003, using my MSDN install disk, I get this Error message "Setup is unable to determine a valid ordering for the installation. See the error log for further details." I cannot locate this error log file, don't know what folder it was written into. Looked in a few likely locations and then did a desktop search on "*.log" but to no avail. Frankl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Memory Management of unused code
Hi. I have multiple objects controled by multiple classes. To ensure the classes are only there when i need them (i.e.they are only created when the level that they exist on is loaded so as not to clutter memory with unneeded objects) however. It just dawned on me that all these classes have associated functions (of course). So how is it possible that when the first of a perticular object created with the new operator knows to load in the compil ...Show All
SQL Server Doing a data import using DTS Wizard in SQL Server 2005 - being efficient with 5 flat files
Hi, I'm a new user of SQL Server 2005. I have the full version installed. I also have SQL Server Business Integration Dev Studio installed. My OS is Windows XP. I'm importing a series of 5 flat files into a database on one of the SQL Servers we have. My goal is to get 5 different tables (though perhaps I should do one and add an extra field to distinguish each import) into the database for further analysis. I tried doing an import via D ...Show All
Software Development for Windows Vista scroll bar(s) look
I think the scroll bars in vista look horriable, especailly the carved in look for the arrows... i think they should be more like the buttons Exit Max Min and the glyphs for the arrows should be white with black outline like maximize minimize exit buttons.... ...Show All
Visual Basic Quick question
I'm running this proejct on vb. net 03 pro. This is a small project sample that i want to developed a little bit more, but i have a problem with the output... code: Module mainmodule Public usernamedatabase(4) As String Public passworddatabase(4) As Integer Public r As Boolean Sub main() Dim objLoginform As frmlogin objLoginform = New frmlogin Dim x As String Dim y As Int ...Show All
Windows Forms Delete multiple directory in file system
Is there any way we can delete multiple directory at the same time without cleaning the children I have over 200 folders on the project and I don't really want go one by one to delete the content inside the folder before deleting the folder itself. When I'm trying to delete it is saying: Cannot delete folder, folder is not empty or it might contain excluded files, which are not shown. I can't beleive I will need to do one by one.... ple ...Show All
.NET Development How do I know which control has focus?
I need to add some key listening and mouse clicking to certain controls, which I designed myself. I have added Click event handlers and KeyDown handlers, but whenever I click on the controls, the Click event does not happen, neither the keyDown (I added a MessageBox.Show to see if the click event happened and it does not show) . I have tried to use the Focus() method but it doesn't see to be enougl, even though it returns true to some components ...Show All
Visual C++ vector crashes on method use on debug but not release
The std::vector class is throwing an exception when I try do add something to it by using vector::push_back(). I have declared my vector as: std::vector<MyTreeCLass *> mNodes; Actually, it doesn't just do it for that, even if I did this: // At the beginning of the class, before I add elements if(!mNodes.empty()) // it throws an exception here, but I don't even know which one it is { // foo } When I run it in the debu ...Show All
Windows Forms Columns magically removed from DataGridView
I'm experiencing a very perplexing problem. I have a DataGridView that will inter mittently lose all columns that were defined at design time. I’m using the UI block and not sure if this has anything to do with it. Basically the form will open fine initially. The user will edit some data and the when the DataGridView refreshes the error occurs. Anyone else experience this strange behavior Thanks ...Show All
Visual Basic How to Read and Write Data to a Text Document
I was wondering if anyone could tell me how to read and write lines of text from a text document, such as one that's opened with Notepad. I'm making a very simple movie database program and I want to be able to take the text typed in a Text Box, write it to a new line in a text document (and save it), and also read text from a line in the document, and then convert that to a string to be used in the program. Thanks. ...Show All
Smart Device Development concept for evc/dll
I would like to ask some question for win32 dymanic library in evc system , does some concept can given when should can i added more dll in this part /project/setting/link/object/library modules : Does it support that much diff dll in evc system kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib frontend_pc.lib wi ...Show All
Visual Studio Express Editions visual c++ runtime error
when trying to launch the installer of nero 7, i get the following error message: Microsoft Visual C++ Runtime Library Runtime Error! Program:E:\DOWNLOADS\NERO-7.0.1.EXE This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. is there a solution to my problem thx in advance This really isn't a prob ...Show All
