Trombino's Q&A profile
SQL Server Default Web Site using wrong IP
I just installed sql server 2005 on a windows 2003 server. I chose the option to install but do not configure. After restarting, I used the Reporting SErvices Configuration Manager and it all looks ok. When I browse to //localhost/reports I get a rs page with the message of: The request failed with HTTP status 400: Bad Request. One slightly unusual thing is SQL Server 2005 was installed as a named instance ("( ...Show All
Windows Forms Can I control Year selection from Datetime Picker
From the datetimepicker control I am able to select the date but not the time Can I select the time also from Datetime picker control Thanks Thanks My problem got solved. I had set the mindate and maxdate ...Show All
Visual Studio Team System Email problems with SharePoint
I get two errors that I am pretty sure are related to the SharePoint configuration: 1. When adding users to a project site The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail 2. When configuring Alerts This virtual server is not configured to send e-mail. When I go to the Sharepoint Central Administration I can see the fol ...Show All
Visual C++ vector <long>; allocation or not
Hi there I have a function that has a vector in it, like vector<long> mylist; when the program enters the function, does anything gets allocated (maybe will malloc or similar) or constructed, or is the 'mylist' just pushed into the stack. thanx, Soren AFAIK this depends on the implementation. All implementations of the STL in VC don't allocate anything neither new or malloc is called. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. error LNK2019: unresolved external symbol _D3DXCreateFontA@48 referenced in function "void __cdecl createFont(void)
Hi, I converted a DirectX9 Tutorial built in VC++ 6 to VC++ Express 2005 and was unable to successfully compile it due to the following error: dx9_texture_filtering.obj : error LNK2019: unresolved external symbol _D3DXCreateFontA@48 referenced in function "void __cdecl createFont(void)" ( createFont@@YAXXZ) .\Debug/dx9_texture_filtering.exe : fatal error LNK1120: 1 unresolved externals I am quite new at C++ prog ...Show All
SQL Server Transfering and verifying data using temp tables
Hi, I need to write code that uses temp tables to check data and transfer it to another table. As I understand, data has to be transfered to temp table, and then a loop will check each row for data integrity and move the valid rows into a new table. The code looks something like this. The problem is with this code, the destination table (table 3) contains only one record instead of 375. What am I doing wrong Select CustomerID, StaffID, Sequen ...Show All
Visual C# Writting Hex String to a binary file.
Hi, i have a string variable with a hex bytes sequence. Example: string strHex = "AA BB CC"; ^ ^ ^ 1 2 3 bytes public static ...Show All
Visual Studio 2008 (Pre-release) can't generate proxy classes for WCF SDK samples with svcutil
Hi, I tried to generate a proxy class for GettingStarted service yesterday with FEB CTP svcutil.exe on FEB CTP Vista. But svcutil failed after reporting a few warning messages. The GettingStarted Service was running OK and I didn't modify it in any way. Does anyone know what is it I've read some known issues concerning FEB CTP svcutil. They do not seem to be relevant to the case. I'm not so sure. ...Show All
Visual C# Play sound
Hi. In C# (VS2003 and not VS2005) how can play sound I have a clock and it has alarm. I want to play a sound for alarm. Don't beep with \a, here is a little example i wrote. The text is dutch but the code is self-explaning: http://questa.blogspot.com/2005/06/howto-beep.html ...Show All
Software Development for Windows Vista Exceptions While Creating the View
I was trying to track down an exception that was bubbling to the top of the stack. I went into Debug->Exceptions options and set all exception types to be caught when they are thrown (not just when they are unhandled). To my surprise, there are a great deal of exceptions thrown while the view ( WorkflowView ) is being created and added to the form. All of these exceptions are are handled, so we would not normally see them if debuggi ...Show All
Visual Studio Express Editions GDI+ Mapping Question
I would like to map world coordinates to device coordinates, but I'm a little unsure on how to do it. Suppose I have world extents of (100,100 - 1000,1000) and device extents of (20,20 - 300,300). Page extents are in pixels and identical to device extents. Can someone give me a clue on how to do this. Thanks hi, i'm not sure what do you mean by that , what i know about this is that you don't have cont ...Show All
Visual Basic How would I update a whole ACCESS database???
In my application I currently connect to three different Access databases via the Table Adapter, Dataset and databinding source.... The software will ship with 2006 data......when 2007 comes around is there a way to post an updated database to my website and have the program merge the newer data with the older data Let's say for argument that the 2006 database has 1200 records and they added another 12 themselves. Then when 2007 comes aro ...Show All
Visual FoxPro how to get the value from the table
Dear Sir, I am facing a problem right now, the question is when I retrieve a max value from a field in a table which is in SQL server, but I am not able to get a value of the field when the table is empty. The codes are used to get the value is showed bellow. runStaus = sqlexec(con,"SELECT MAX(SN) as MaxCode FROM States","maxStates") if runStates <= 0 error message is showed here... else if eof('maxStates ...Show All
Visual C# Issue with COM Port Access (serial port emulation)
I'm developing an interface for a handheld barcode reader, and I'm having trouble with accessing the COM port with Visual Studio 2005. The device has a USB connection, but comes with drivers to emulate a serial port. Whenever I try to access the device with System.IO.Ports, I get the error: "The given port name does not start with COM/com or does not resolve to a valid serial port. Parameter name: portName" Is Visual Studio acces ...Show All
SQL Server Where is the tutorial File: "Customers.xls"?
In Lesson1 of SSIS Tutorial, section "Running the Wizard to Create the Basic Package", is stated "Specify the data source. You will use the Excel workbook, Customers.xls, as the data source..." I have both AdventureWorks databases installed on my box as well as a host of samples but I can't find that file. Any pointers much appreciated. TIA, barker on ...Show All
