Divermarv's Q&A profile
Visual C++ missing .rc files
Hello all, I noticed that after converting VC++6 to VC++2005 that my many of my .rc files have disappeared, is this normal And how do I reestablish those files ...Show All
SQL Server SQL Server 2005 trial license expired. Need to upgrade. Can't lose work.
This forum is intended for users who are new to SQL Server, and have basic usage questions. If you have setup or installation issues or questions, you should check out the Setup forum. Thanks I've seen this previously where IIS hadn't been installed on the target server. Hope that Helps JB ...Show All
SQL Server Derived Column
I have two columns made up of 4 digits numbers eg col1 1234, col2 9876 I want to create a derived column so i get a eight digit column, eg col3 12349876 I cannot seem to get the expression right, I seem to be always adding the value which i do not want, can someone help me out with the expression Thanks Robbie Personally, I would use (col1 * 10000) + col2 - If you want to keep the leading zero's, that is. Pipo1 ...Show All
SQL Server reseeding temporary tables or table data types with identity column
Hi, I have a indexing problem. I have a sequence that needs to has a index number. I want to use a table data type and have a working sample BUT I cannot reseed the table when needed. How do I do this. This works only for the first ExitCoilID then I need to RESEED. Here is my code: DECLARE @EntryCoilCnt AS INT , @ExitCoilID AS INT , @SubtractedFromEntyCoilCnt AS INT DECLARE @ExitCoilID_NotProcessed TABLE ( ExitCoilID int ) INSERT INTO @ExitCoilID_NotProcessed SELECT DISTINCT ExitCoilID FROM dbo . TrendEXIT where ExitCoilID is not null and ExitCnt is null order by ExitCoilID DECLARE @ExitCoilID_Cnt_Index TABLE ( E ...Show All
Visual C++ WIN32 console application
Can I use colors, clrscr (or something like that) & change cursor location is WIN32 console application (env. visual studio 2005 express) Look at Character-Mode Applications in the documentation. There is also a Platform SDK sample of most of the console API. For clearing the screen, see HOWTO: Performing Clear Screen (CLS) in a Console Application . ...Show All
Smart Device Development DomainUpDown
Hi all, do i have to override this Control if I need to make use of the up and down buttons Thanks Tryst wrote: do i have to override this Control if I need to make use of the up and down buttons Depends on what you mean by "make use of the up and down buttons". Handling the SelectedItemChanged event will make use of those buttons. If you want to do something specific to your control when the up or the down button is pressed, yes, you have to derive from this class and override the UpButton and DownButton methods. ...Show All
Visual Studio 2008 (Pre-release) Synchronous and asynchronous support under one service
Hi, I have a question. From the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=290651&SiteID=1 I understand that WCF supports both synchronous and asynchrnous under one proxy. There was a reference to http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/cpref19/html/P_System_ServiceModel_OperationContractAttribute_AsyncPattern.asp for more details but I think that page is gone or something, all I can find is the first page introducing windows sdk. So here's my problem. I'd like to make a service that supports both synchronous and asynchronous but have no idea as to how to get around to it. If anyone knows a good tutorial or material for this issue, please tell me how I can accompli ...Show All
Visual Studio Express Editions BindingManagerBase Position_Changed Problem
Hey Everyone, I have a program that has several textboxes bound to 1 dataset which contains only one table. When the form loads, the data is displayed in the textboxes allowing the user to add, edit, delete, etc., as well as navigate through previously entered records. However, when trying to navigate through the records, it doesn't do anything. The recordCountLabel, which keeps track of the record number that is displayed, changes, but the first record stays on the screen. Here is a little of my code. Protected Enum Record RecordNum DDate Shift ATO Vehicle End Enum Private Sub Form_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'Loads data into the 'TripSheetI ...Show All
Visual C++ Problems in debugging
I encountered the error message below: First-chance exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Unhandled exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Any possible answers Am I out of memory It occurred at this line m1pos [ i ] = new int [m1[0]+1]; //allocate new array where m1pos is an array of pointers. When my input file is small, there is no error. When my input file is large, I will have this error. Notice that the left side is m1pos[ i ], not m1[ pos ], right So assuming that m1pos has a valid address for m1pos, then does "i" have a valid in ...Show All
Windows Forms Basic WinForms question
I am new here. Can anyone tell me why many people are saying WinForrm App is a smart client What make WinForms smart Thanks Hi, Smart client in the sense means the entire processing of data happens in the client, unless you do not Remote your components. In case of Web UI we call them as dumb clients since the entire processing is done at the Web Server. -Ajeeth ...Show All
Visual Basic VB Course Outline
Where do I find a VB Course Outline to guide me thru the learning process. I am new to this... are you pretty much talking about learning VB.NET If so, I'm not sure there is an exact "course" you can follow. There are many tutorials online that you can obtain as well as purchasing and reading books, and asking questions here as well as the huge resource online at MSDN: http://msdn.microsoft.com if you havent', you can download VB Express and register it which will allow you to recieve benefits such as e-books and e-videos I believe. ...Show All
Visual Studio Express Editions Set two methods to the same button_click
I have a problem to set two methods to the same button_click: One method is called 'grabber' and grab a picture from a video stream and display it to a picture box. The other method simply save the picture from the picture box. They both work if i use two buttons. If a click to grab the picture and then click to save it...no problem . If I use 1 button to do both methods (first grab and then save) it doesnt work , and visual shuts the window form and a yellow arrow appears on line saving command line. If someone had this problem before or just know the answer to my problem, a little help would be great. Thank you. private void Detect_Edge_Click( object sender, EventArgs e) { grabber(); //saver ...Show All
.NET Development Calculated column
Hi Folks, I have a calculated column in a dataset in my VB 2005 app (added to data set, but not in database) that uses values from 2 other columns multiplyed, and displays that number for the user. Quantity(dec, 18) * Rate(dec,18) = caluculated column 'Total' (dec,18) When ever the user places a decimal number in the quantity column, the value rounds up to the next whole number -- I do not want the number round to the next whole, and also need to limit the results to 2 decimal places. I first thought this was a control problem in a data grid -- it wasn't; I tried seperate text box controls, but with the same results - numbers round up to the next whole. The only other place I could have this problem is in the data set calculate ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 Boat game with source
Hello I was playing about again the last 4 days and come up with a little boat game for the 360. The source code is very untidy but there might be something of use in there for some people. It was written for use on the 360, it might work ok for the PC. You can have 1 to 4 players and it uses some ai for the others. There's only 1 track at the moment - I may get around to fixing it all up into a proper game if there's enough interest or if an artist wants to help out. It plays a different sound effect when you cross the line and beat your own best score. My best lap is 8.07 (no down to a 7.96) seconds. Best to use a 360 pad but here's some keys if you feel the need. Q and E change the number of players ...Show All
Visual C# Fade background like WinXP
I would like to simulate WinXP shutdown's background fade to grayscale. How can I achieve this on my app's quit when I ask user "are you sure you would like to quit" else return to full color. Thanks for any ideas how 'bout trying and capturing entire screen to bitmap, drawing to fullscreen and then showing your form / message box above it ...Show All
