James Cornell's Q&A profile
Smart Device Development Today screen in Pocket PC 2003
Hello everybody, I've tried to get the following to work http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/TodayScrn.asp I can successfully compile and build those into my pocket PC 2003, but nothing happened. Are there any other ways to create the today screen in PPC 2003 with .NET CF 2.0 Thanks No, that’s the only way and it works. Please make sure to follow procedure exactly and it would work. Don't forget it uses native component which needs to be properly installed, so make sure to build CABs from the sample and install them. Keep in mind this sample originally designed for eVC 4. If you don’t have it, you could use VS 2005 native project to compile na ...Show All
Visual Studio Express Editions Installer Project
I've read though the VC++ Express help file in order to find out how to create a windows installer file for my application. I found out that I should create a new "setup project". Now, I noticed that there is no option for a "setup project" in the "Create new project" dialog. After some research I found out that it apparently isn't supported in the Express version of VC++. So how would be the best way to deploy my applications (including C/C++ runtimes, .NET Framework, DirectX, etc.) Are there other ways to create a windows installer file Also, it looks like VC# Express has some publishing options, are there equivalents for C++ Opfer: Thank you, Helped a lot ...Show All
Visual Studio Express Editions Trouble getting event handler to work
I'm new to programming, so sorry for the questions that are probably obvious. I'm trying to create a subroutine that will be triggered each time the location in a data grid view is changed (because I need to update other information on the form). I can't seem to figure out the proper code for it. I entered the following: ---------------------- Public Sub Updatecolumncount() Handles CaseNameDataGridView.LocationChanged ColumnCountUpdate() End Sub ----------------------------- and I get an error that says "Method 'Public Sub Updatecolumncount()' cannot handle event 'Public Event Location Changed (sender as Object, e as System.Event.Args)' because they do not have the same signature." What do I nee ...Show All
Visual Studio Express Editions Reading text from a txt file. Problem with ignoring polish marks inside
Hi, I learn VBE 2005 from a book. I got a program which load txt file and shows it in text box. Problem is in displaying polish marks inside box. Program simply ignores them and I got my text files cut from polish marks. I have a polish windows xp pro. Please help! Here is code I use ( works fine with all english marks ) Public Class dialogs Private strFileName As string Private Sub btnOpen_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click With OpenFileDialog1 .Filter = "Pliki tekstowe (*.txt)|*.txt|Wszystkie pliki (*.*)|*.*" .FilterIndex = 1 .Title = "okno dialogowe otworz" End With If OpenFileDialog1.ShowDialog = Windows.Forms.Di ...Show All
.NET Development extracting subtree data from XML
If I have an XML file like this: <customerdata> <customer name = "cust1"> <column>First Name</column> <column>Last Name</column> <column>Address</column> <column>Phone</column> <column>EMail</column> </customer > <customer name = "cust2"> <column>First Name</column> <column>Last Name</column> <column>Address</column> <column>Phone</column> <column>EMail</column> </customer > </customerdata> If I want to extract information regarding only the first customer using the customer name, how do I do it Thank you. ...Show All
Visual Basic Open???
How do you use the menustrip open button to open a file well it depends how you want to open the file, and what type of file it is. you can open it directly, assuming its a textfile: Dim theReader as new System.IO.StreamReader( YourFile ) dim theContentsOfFile as String = theReader.ReadToeEnd() theReader.Close() Me.theTextBox.Text = theContentsOfFile or you could ask for the file they wish to open using the OpenFileDialog class and use the above approach of opening the file giving it the filename from the OpenFileDialog class FileName property can you be more specific on what type of file you wish to open there are many ways for different files ...Show All
Internet Explorer Development "Privacy mode" to prevent caching?
Would it be possible to create a plugin or program that stops I.E. from storing cookies, temporary files, history, etc, when the option is enabled I think I recall seeing this feature in Safari for Mac and I liked it a lot, it's convenient if you don't want to wipe out your history and temp files or go through them individually. Plus I've had people insist on clearing the temporary files after checking their email on my computer. I'm generating a PDF in an asp.net application using xsl-fo, I assume from your answer that it is not possible to prevent IE from caching the PDF before it is read by acrobat. Expiring the page stops the page from being cached but also stops it from being displayed by IE. ...Show All
Visual Studio Team System High SQLServer Memory Usage in LoadTest
Hi, I am executing a load test with 8 webtests and 4 web test plugins, 1 for 2 webtests. In each of the plugin, I am pulling data from the SQL Server with select statement like "Select top 20000 from tablename"; and in the post webtest method in plugin, I am deleting the row which was used for webtests. While executing the loadtest I am seeing hight memory usage for SQL Server in taskmanager and in turn causing my system to be damn slow. How could I get around this problem Does my select and delete statements causing high sql activity Thanks. One thing I could improve on is the delete statement. Instead of deleting the record after each webtest, I will keep a track of a ...Show All
Visual C++ __wchar_t and wchar_t
Greetings, What's the difference between __wchar_t (two leading underscores) and wchar_t (zero leading underscores) Thanks i don't know the answer for sure..but i can tell u a way.. declare instances for both data types.. and then go to defination of the datatype.. it might be wrapper typedef of wchar_t of some sort or may be same.. and wcahr_t is wide character array .. which is 2 bytes used for a character(unicode).. ...Show All
SQL Server blank passwords
Is there a way to test for blank passwords on logins using SMO Thanks! I also have a Tsql script to check for blanks. Wanted to make sure i wasn't missing something here. Is the performance acceptable iterating through the Login collection or would using TSQL and reading the results to a data table be the better route ...Show All
Software Development for Windows Vista Winqual site down?
hey folks Trying to sign up to the winqual program but no joy.. https://winqual.microsoft.com/member/SoftwareLogo/ Service Unavailable Is this a known problem or have they just been utterly swamped.. Hello MGreen, Since this is a usability issue, I would recomend contacting the winqual support alias's at https://winqual.microsoft.com/help/default.htm#Contact_Us.htm . Thanks! Matthew Braun ...Show All
Visual Studio User Feedback: things to improve with the help system
How can I configure the help system to always choose C#/VB as the only language in the language filter Also, I think that your help system sometimes lacks examples. When that comes up, I often write it in the little feedback box. But is it useful, or is there a better place to do it What are the odds some action will actually be taken on that Thanks for the comprehensive help system. Hi April, Without starting a new thread, may I make a request please Would it be possible in the next version of Visual Studio (Orcas) to include a link in the Help menu to the Visual Studio Combined Help Collection Manager page From time to time, posters keep asking where to find this important tool. Kind regards, Frank ...Show All
Smart Device Development specified sql server not found, general network error.please check your network documentation
I use sqlclient to connect directly from my pocketpc to a sql server 2000 database on my desktop. ActiveSync 3.7 is used to connect ppc with laptop. i used a class to store the connection string and call the class from my app. Following is the code in my class. Public Class DataAccessClass Public Function fetchStudent() As DataSet Dim conn As SqlConnection = New SqlConnection("Data Source=home-0f34b739b7;Initial Catalog=SVEC;uid=sa;pwd=;Connect Timeout=180;Integrated Security = SSPI;Persist Security Info = False") conn.Open() Dim da As New SqlDataAdapter("GetStudent", conn) da.SelectCommand.CommandType = CommandType.StoredProcedure da.SelectCommand.CommandTimeout = 180 Dim ds As New D ...Show All
Windows Live Developer Forums own 3d object?
Is it somehow possible to get a custom 3D object into virtual earth 3D And if so, does anybody has an example for that, like how to get it into the 3D world and how to position it Its not possible within the VE API at the moment but if your just keen to play it can be done in C#. Checkout the ghosts in Boston and full source code. Ah to have the time to play... http://heptazane.spaces.live.com/ John. ...Show All
Visual Studio Team System Error TF42028
We have recently deployed TFS and are having an issue with users seeing the existing build nodes in Team Explorer. It also causes it to throw the 42028 and 42025 error when the user attempts to run a build. (Using Domain Users and Groups to set permissions. Win 2003 Domain.) I have one user that has only been added to the 'Contributor" group of the project. This user can see the Build nodes and run builds without any issues. To make it work for the user in question and any subsequent users I create, I have to add them to the Team Foundation Server Administrator group. (adding them to the Project Admin had no affect) Once added to this group, all the nodes show up and builds run fine. Any suggestions would be appreciated. ...Show All
