Flap's Q&A profile
.NET Development .NET 3.0 breaks printing subsystem on non-english XP / VERY ugly effects
After installing .NET 3.0 on non-english XP two things will break parts of the printing subsystem: - parts of XPS are installed in English, i.e. unidrv.dll / unidrvui.dll / unires.dll etc. are non-localized As a consequence Printing dialogs of all unidrv.dll-based printer drivers show mixed output localized/english. And the default Input Tray is set to 'Automatically Select' even on a german XP which leads to strange effects like printers suddenly asking for paper in the Manual Tray instead of using Tray 1 as usual. - unidrv.dll / unidrvui.dll / unires.dll etc. are Windows Vista DLLs and incompatible with many XP Printer Drivers As a consequence some printer drivers will print all pages of multi-page documents on one sheet, all ...Show All
SQL Server How can I know No of Connection With My, SQL server!!
Hey Friends !! How can know the number of connection with our DataBase server !! Hope it is easy , But still i don't know ! Use the windows counters: General Statistics --> User Connections Ref: http://msdn2.microsoft.com/en-us/library/ms190697.aspx ...Show All
.NET Development Format an Double Value
Hi, I am trying to format a double to a BCD string depending on the number of zero needed to pad in front. FormatDoubleVal(25.55, "00000000") should return 00002555 FormatDoubleVal(25.5, "0000000000") should return 0000002550 Any one help This should do the trick: public string FormatDoubleVal( double value, string mask) { //Convert to integer representation int i = ( int )(value * 100.0); //Use input mask to format. return i.ToString(mask); } ...Show All
Visual C# Mouse question/help
Hello, I am doing some research for a university and need some help with mouse movements. I need to be able to track the mouse no matter what window it is in. I have searched for this information extensively and have not really found a good answer. Idealy I would like to know for instance, if it is in Internet Explorer, where it is located i.e if it is click on the file button at the top for instance. For now however I just want to be able to have the mouse move outside my window and for me to be able to still ascertain its coordinates. Do I need to write some sort of horrible assembler program to get direct mouse input Also I am using 'forms'. not entirely sure on how to detect what "Window" you will be ...Show All
Visual FoxPro Copy File Error in Visual FoxPro 7?
When a COPY File Command is executed and a space is in either a folder name or a file name, the instruction is unable to handle it. I have tried a technique to put in " quote marks in the manner '"<path><filename>"' but then it gives me a syntax error. Is this a bug or am I entering the full path and filename wrongly If this is a known bug, is there a patch for it If not, how do later versions of VFP do with this "bug" Thanks Andy. I believe that I tried the solution you mentioned, but it failed to work. It may have been further impaired by the fact I was using macro variables for the path filename and I don 't believe the quotes got through to the final command The par ...Show All
SQL Server Loop Through Flat Files Based On A Date Range
Hello, I currently have a For Each File container that loops through all files from a specific directory. The files have a naming convention that looks like this; CDNSC.CDNSC.SC00015.01012007 The last segment of the file name is the date of the data in the file (mmddyyyy). The create date for these files is always a day later than indicated in the file name. What I would like to do is to have more control over the 'range' of files that are looped through by using the date portion of the file name to define what group of files should be looped through. Ideally, I would like to have a 'StartDate' variable and an 'EndDate' variable that I could define at run time for the package, and the package would loop through all of the files ...Show All
Visual Studio 2008 (Pre-release) cannot able to open new xaml browser project
hi i hv laptop of Hp Pavillion dv6000..... AMD turion 64 bit processor ,,,, 1 gb RAM,,,,,,,, 40 GB HDD .....running with windows xp 2. i had install .net framework 3.0 but whenever i m going open xaml browser application it gives me warning that " the system can not find specified file "..... then what to do ......... i had un-installed vs extensions for wpf and re-installing it but not make any difference. still i got an error while creating a new xaml project "system can not find specified file". ...Show All
.NET Development ignoring namespaces in xslt
Hi all, I have an xml file that I am trying to run through XSLT, but the namespace on some of my source objects are causing the xslt to not find the node. Can't I tell xslt to ignore the namespace xml file snippet: <Shipping xmlns="http://soa.channeladvisor.com/webservices/"> <NameTitle>Mr.</NameTitle> <FirstName>John</FirstName> <LastName>Doe</LastName> </Shipping> xslt snippet: <xsl:value-of select="ShippingInfo/NameTitle" /> If I delete the namespace from the Shipping node, my xslt works fine. But of course I don't have control over the xml to remove the namespace in production. Thanks! If you have a default namespace declaration ...Show All
Visual C++ Setup Visual C++
Hi, I am very new to visual C++ and I am trying to use it to compile C code. I have everything setup and I created a hello.c file which basically prints Hello to the console window, but when I run my program the output windw opens and then closes in a flash. Does anybody have an idea why this is happening and if this is the right way to compile C code in Visual C++. Thanks, Sunny It seems that you are doing every everything right. The problem is that with today's computers your program executes before you can see much more than a flash on the screen. Trying adding the following as the last line of your main function int main() { // ... system("pause"); } This will ...Show All
SQL Server Add parameter to "navigation" url
Add parameter to "navigation" url - Hello, I'm trying to add a parameter to my JUMP TO URL but it doesn't work. basiclly i'm useing javascript there: javascript:window.open('http:www.a.com num=XXX'); i want to change the XXX with a value from the dataset. I tried - javascript:window.open('http:www.a.com num= + Fields!ME.Value '); or - javascript:window.open('http:www.a.com num= & Fields!ME.Value '); it didn't worked :( any help Thank, I manage to do it with a + . The problem was that i wrote it as a line with out inverted commas (") and with out an equel sign (=) before. silly me :) Thanks for your replay. Roy. ...Show All
Visual Studio Express Editions Creating a Database in Code
I've tried 3 (three) different scenarios to create an access MDB file from code. I can "create" the MDB file successfully using ADOX, after I added a COM reference to it for my application. My first attempt to create tables was a blind alley. I was using DataTables, and I couldn't find any way to have the DataTable create itself in an OLEDB. The second one was to use a create statement in OleDBCommand and then perform an ExecuteNonQuery. This option met with limited success, as long as my create statement was brain-dead. I am attempting to define default values for a couple of columns (user_name or user, getdate, etc.). Even putting in simple constraints confused it. A single column primary key specification on the column w ...Show All
SQL Server Multiple inserts into one table using a stored procedure
Hi, I am trying to create a stored procedure which will allow multiple inserts to happen on one table. I cant find any information on this. Please can someone help . Thanks JagK Hi JagK, You would call multiple times to stored procedure. Good Coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All
Windows Live Developer Forums The string which I format is not the same as the string which I read from a file.
I have a html file as follows, when I use CStdioFile read every line and write it to another html file ,the html file work well and can show a map ; but when I use the following line to replace the statement :x=37.21;y=-122.00; the html file does not work, please tell me why I appreciate your help. My vc code for replace string is like this: i just use the strBuffer to replace that line, CString strBuffer; strBuffer.Format(TEXT("x=34.33,y=122.34")); <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > ...Show All
Visual Basic code snippet editor
I get an unhandled exception error the minute I fire up the code snippet editor and cannot continue from that point on. Is this a reported problem I'm running on XP Professional with service pack 2 and using Visual Studio 2005 Professional. Second request for the source code - gotdotnet isn't up anymore. When the page for the snippet editor says " The Visual Basic Snippet Editor is shared source project " doesn't that imply that it is shared somewhere Or does the 'd' in 'shared source' imply past tense ...Show All
Visual Basic How can I programme a module to shut down and restart itself after a period of time?
Hello all, I would like to enquire whether there is a code in which I can use to instruct a module to shut down, and then open itself again after a specified period of time Thanks in advance. Or you can write a controlling application which would determine if your process was running and if no start it. Or allow you to kill the process and restart it. This could be triggered by either a timer or user action. ...Show All
