yukizz's Q&A profile
Smart Device Development No Hello World template in VS2005...
I have been using eVC4.0 for native win32 coding. But recently I moved on to VS 2005 for Smartphone 2003 development. And to my surprise, there was no Hello World Application template here. Even the sample codes with the SDK do not provide VS2005 solutions. They offer vcw files to use wid eVC. Its not very good news for ppl like me thinking to move on to VS2005. I m involved in making dlls and totest them i need to make very light HelloWorld l ...Show All
SQL Server Renaming a file with File System task
I'm having trouble working this out in SSIS. I am trying to use a File System task to rename a file using an expression so that file.zip will be renamed to file mmyy .zip at the end of every month (for instance this month would be file0506.zip). I am using the destination expression variable. But I'm not sure what to put for DestinationConnection. It seems to want a file name, but the file name is going to be variable, so I'm not sure what to ...Show All
Smart Device Development Cannot Connect dialog balloon
I have an app that uses HttpWebRequest etc to gather information, however on a failure I was hoping to do something similar to Pocket IE. In other words pop-up the Cannot Connect dialog balloon. Any one know whether this is possible Thanks HttpWebRequest will throw an exception on error. In most case it will be either WebException (includes HTTP return code) or a SocketException. You can see a ratherr reasonabl ...Show All
Windows Forms Do the controls that Visual Studio comes with suck, or am I being unfair?
Hi everyone, I'm wondering what the general feeling is towards the default windows forms (and webforms) controls is. You see, I've heard a lot of people say that the control set that comes as standard is very "rich". The thing is, I'm not ...Show All
Windows Forms using a structure within an array
I want to create a read only array using a structure as the elements, then perform a binary search on an element of the structure within the array (or arraylist ). Your help would be much appreciated. You can make an array of& ...Show All
Windows Forms New Article on Optimizing Localization
A new article has been posted by Brian Pepin, one of the designer devs on the Windows Forms team. It walks through the code used in the localizaiton process and has a sample that will significantly reduce the size and load time of yo ...Show All
SQL Server About Indexes & Where caluse
Hi, I am struggling with the sequence of parameters in my where clause. In my databse table i have index on Broadcast_Date(some table field).The Index also include some other parameters which might become part of where clause. The first field of the index is broadcast date. So I want to know whether it is always compoulsory to have broadcast date as my first field of where clause. Will it not scan the index if my where clause is ...Show All
.NET Development WebBrowser (VS2.0) on UserControl
I'm trying to create a UserControl that included a WebBrowser, to make an HTML Editor control. When I try to add text to the WebBrowser using the DocumentText property (for example "<HTML><BODY>this is a test</BODY>< HTML>, I get nothing. Using a watch, I see the DocumentText has become "<HTML></HTML>\0", ReadyState is "Loading", and Document.Domain is 'webBrowser1.Document.Domain' threw an exception of type ' ...Show All
.NET Development Should I call Dispose on a SQLCommand object?
Should I call Dispose on a SQLCommand object If I do, what exactly gests disposed Jonathan Luke, That's correct. The using construct actually calls Dispose, for example the above code is actually getting converted underneath to the following code by the C# compiler: SqlCommand command = new SqlCommand(); try { // Do Something with the command } finally { if (command != null) { command.Disp ...Show All
Windows Forms Unselecting text when entering DataGridView cell
When a user clicks on a DataGridView cell to enter edit mode, the contents of the cell is automatically selected (i.e. all the text in the cell is highlighted in blue). How can I stop this Is there a way to make it so that when they enter edit mode, the cursor is just placed into the cell without highlighting the text. Is there something I can do in the DataGridView.CellBeginEdit event, or am I looking in thw wrong place ...Show All
SQL Server xpsendmail and table not found
I have a DTS package that has two steps. The first steps executes a sql statement that selects data into a temporary table. The next step emails the results of a "select * from #mytable" to me. I ran the job today and did not get an email from it. So, I then copied both statements to Query Analyzer and ran them in the same window. The SELECT query ran fine but the xpsendmail part gave me an error that #mytable does not exist. This i ...Show All
SQL Server The request failed with HTTP status 401: Unauthorized. - ReportService2005.asmx
I have a report server set up to use SSL and Basic authentication. I am trying to create an application that uses the ReportService2005 web service. I can add the web reference ok, but when I try to use it to list reports, I get the "The request failed with HTTP status 401: Unauthorized." error. What steps do I need to take to get the authentication to work correctly I have kerberos configured for the server, although I don't think ...Show All
Visual C# How to resize an image programmatically?
How can I programmatically enlarge an image with the original image placed at the left bottom corner, and the enlarged area filled with specific color Thank a lot. You can use the Bitmap.SetPixel method but this is a slow method, you can also unsafe process an image wish is much faster! Take a look at this article at MSDN. ...Show All
Visual C++ aspell compilation problems
Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving ...Show All
.NET Development Is it impossible to send Nothing in an integer input parameter?
A third party webservice wants null / Nothing values for certain optional integer input parameters. I understand that the integer datatype cannot hold a null/nothing, but is there anyway to force this Can I manually do it somehow Tracy WebServices in .Net 2.0 has added support for Nullable<T>. If you know that both your client and service are deployed on .Net 2.0, you can use these Nullable ty ...Show All
