carstensm's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Vista Compatibility
Looking for any hints on when a Vista version will be released. (Note that I'm in the middle of installing the same version as everyone else is right now, but the web site says it won't be out for a bit). I really don't want to put a third OS on my system just so I can run xna express. (I've already got Vista Ultimate 32 and 64 bit on here - starting to get crowded) Dan The compatibility issues are due to VS compatibility so if you get VS SP1 and the VS Vista patch (in beta) then a lot of us are sucessfully running on Vista. The only problem I am seeing is the the VS Version selector app (which is what is run when you open a .sln file) doesn't work at all and I am having to open VS and ...Show All
Windows Forms ClickOnce Workaround.
hey guys, I need help from you guys. Just a few questions if these can be dealt with. 1. Is it possible to use click once without its backward compatibility I mean would want the newly published files(all files) overwrite the old ones. Would it be possible 2. Just wanna hear your ideas on this guys. For example, we have multiple servers running. Considering a multinational compay that has employees on North America, Asia and Europe. Each continent is being represented by a server. The purpose of which is that every time theres an update, those employees from europe would just connect to the server on europe and so is USA and Asia with their assigned servers respectively. Would it be possible for ClickOnce to deploy to multiple servers ...Show All
Smart Device Development Volume - Vibrate - Off Setting
I have a Windows Mobile 5.0 Pocket PC Phone. On the top menu bar there is an icon of a speaker. When I tap it it shows a volume slider control with 3 radio buttons below it. The radio buttons are On / Vibrate / Off. I want to be able to control the setting that is represented by those radio buttons from a C++ application I have written. Can someone tell me the right API to use I don't need to set the volume level, just whether it is on / off or in vibrate mode. I would like an API that will work on any model phone if that is possible. ...Show All
Software Development for Windows Vista Windows Vista - Process.GetProcessesByName doesn't work
Hi, This code is written in c#.net windows application. I am trying to get all the processes by name using Process.GetProcessesByName("Exe Name") and for some reason this doesn't work in Windows Vista, does anyone have any idea Thats the issue, I am running it from the local machine. It works under xp and it works under Vista if I turn off UAC, but not if UAC is enabled. ...Show All
SQL Server server timeout
In SQL server management studio: When doing ex count(*) for a big table or create index or like, I get timeout error. The timeout setting = 0 Even timeout = 888888 gives timeout Does not the query execution timeout parameter work Or are there other parameters needed to be ajusted Allan, In Query Window in SSMS, please right-click and select Query Options... menu item. In the dialog, please verify what is specified as Execution time-out value. I suspect it will be 30 seconds. If that's the case, change it to some larger value or set it to 0, meaning no timeout. If that helps let me know, we will try to find out where this value is coming from. Regards, ...Show All
SQL Server Multiple query results by one event
Glad to do it. Sorry. ...Show All
Windows Forms Highlight row in DataGridView when mouse hovers over a row
I've seen many third-party components do this. In a DataGridView, how do I programmatically (using C#) change the row's background to yellow, but only the row the mouse is hovering over. I know I need to use the HitTestInfo property of the DataGridView but can't seem to get it to work right. Remember, I want the row's background to change. I don't want the row to be "selected". Thanks in advance Ray Hi , try follow code: can select row by mouse hover and change color to yelow using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespa ...Show All
Visual C# how to Send a Fax from Fax-Server using C#............ getting Exception
I am Using this code , by i getting Exception Name : "The handle is Invalid (Exception from HRESULTS :0x80070006 (E_HANDLE))" One More thing I would like to use fax server , i check the server is funtioning correctly due to send fax form my local machine any one help me..................... Code is here --------------------------------------------------------------------------------------------------------------------------- private void btnSend_Click( object sender, System. EventArgs e) { SendFax(txtDocName.Text, Application .StartupPath+ @"\" +txtFileName.Text,txtRecipientName.Text,txtRecipientFax.Text); } public void SendFax( string DocumentName, string FileName, str ...Show All
Windows Forms Directory chooser
I've a new question today, which should be quite simple for people who know how. How do i get a folder version of the openfiledialog that is so useful i want to select a folder to be set as default in one of my small programs, but all i can do atm is use openfiledialog to save a file, get the address, then delete the file, which is very long winded, and doesn't look good for the user. how can i get a directory viewer that lets the user just select a directory Thanks for your help. It'd be useful if there was a site that actually showed all of the really useful bits of code that i'm likely to need, because I'm asking on here a lot, and don't want to be a burden. I think your after the folderdialogbrowser wh ...Show All
SQL Server Development Issues with SSIS
We have been facing some delevelopment issues with SSIS. These are as follows: We want to execute some tasks in a particular package depending on a condition. Example: If record count is more than 0 then go to next task else stop the package. We tried to write a script, in which we evaluate the value of the variable. This variable is populated with the record count value. We cannot find any particular function which can exit the package successfully. We can fail the Task, but that means the package is failed. wo dont want to fail the package. In short we want to conditionally execute some tasks in a package. Something like an "If container" similar to "For container". We have one main package from which we exec ...Show All
Visual C# ORA-12154: TNS:could not resolve service name
I am trying to connect oracle 9i through c# and I am getting the following error. Please see the code below. I have created a dsn name using Microsoft ODBC for oracle. I am using .net 1.1. My oracle has installed in d:\ my .net is installed in c:\ can anybody help me what is the problem for the error. try { //string myString= "Data Source=test_data;Integrated Security=yes"; OracleConnection connectionObj= new OracleConnection(); connectionObj.ConnectionString = "Data Source=ArunTest;User Id=scott;Password=tiger;"; connectionObj.Open(); connectionObj.Close(); } catch (Exception ex) { Console.WriteLine(ex.Message); } Check your ORACLE_INSTALL_FOLDER\Network\Admin for a file c ...Show All
Visual Studio Team System FxCop 1.312 .MSI file for uninstall
Where can I find the 1.312 .msi for uninstall It is no longer on my box, and I can't seem to find it on the FxCop GotDotNet workspace. It would be nice to keep the historical .msi's handy. 1.312 is no longer available on the web. Is Windows Installer prompting for the MSI when you uninstall If so, you can use the MSI Zap application to forcibly uninstall an old installation. ...Show All
Visual C# How to delete the cookies create by a WebBrowser?
Hello, I use a WebBrowser (C# .Net 2.0) and i don't know how i can delete the cookies created by the WebBrowser Thanks for your help! Thank you. But why my cookie is stored for my application but not used by IE Example: I a use a WebBroser to go to Hotmail.com and set to store my mail and my password, if i close the application and run it again, hotmail don't ask me again my password. But when i open IE hotmail ask me my password! It's not the same cookie There is a different cookie by application ...Show All
Smart Device Development How to develope FTP capabilities LIST/GET/PUT on VB.NET CF
I need to implement a LIST/GET/PUT FTP functions on a vb.NET application. I've read that System.Net for Compact Framework doesnt have this funtions, and I have to use a namespace called OpenNetCF.Net.Ftp. The problem is that i can get information of ftp server: Function TestFTP1(ByVal dir As String, ByVal user As String, ByVal pass As String) As String Try Dim creator = New FtpRequestCreator() WebRequest.RegisterPrefix("ftp:", creator) Dim ftpUri As Uri ftpUri = New Uri(dir) Dim ftpWR As New FtpWebRequest(ftpUri) ftpWR.Credentials = New NetworkCredential(user, pass) Dim ftpStream As Stream = ftpWR.GetRequestStream() Dim reader As New IO.StreamReader(ftpStream) Dim sRet As String = reader.ReadToEnd() ...Show All
SQL Server Error: Forward dependencies are not valid
I want to set a Report Parameter on a field. The Report Parameter is called 'filter'. In the statement I put the Report Parameter in the WHERE-part: WHERE ([DatabaseName$TableName].[FieldName] = @filter). After this I set the 'Available values' on the Report Parameter in the lay-out to Non-queried . When the report is running, no problems. But..... Now I want to set 'Available values' on 'From Query' and refer to the data set, so the user can choose on which value he want to filter. But now, after running the preview the following error displays: Error 1 [rsInvalidReportParameterDependency] The report parameter ‘filter’ has a DefaultValue or a ValidValue that depends on the report parameter “filter”. Forward dependencies are ...Show All
