GilesCollingwood's Q&A profile
Visual Studio Express Editions Where to declare variables?
I apologize if this has come up before, but I'm new to this forum. I have been programming for almost 20 years, in QuickBASIC, Visual Basic and now VB Express, but I don't do a lot of programming, and the stuff I write is very basic (no pun intended). My typical program consists of a few screens where the user enters data, hits a continue button, then that screen goes away and another screen comes up, either to enter more data or to display results. Very simple stuff, but I'm having a really hard time getting started in VB Express, even though I've done a lot of searching and reading. I feel kind of like I have a new car ma ...Show All
Visual Studio 2008 (Pre-release) How to minimized the application to system tray
In WinFX, how do we minimized the application to the system tray You would have to use the NotifyIcon class to show the icon in the tray. In addition you might want to use ShowInTaskbar=false ...Show All
Smart Device Development How to convert 240 x 320 PocketPC 2003 application to 480x680 VGA Windows Mobile 5?
Hi all, I have an application working on PocketPC 2003 for PDA and PDA phones, but when execute in 480x680 VGA Windows Mobile 5 Acer N300 PDA the program is shrink to the top left corner, therefore I would like to convert and support this PDA. I am using VS.NET 2005 and .NET CF 2.0 don't know where to start, please can someone help me... Try setting the AutoScaleMode property of each Form to "Dpi". http://msdn2.microsoft.com/en-us/library/system.windows.forms.containercontrol.autoscalemode.aspx ...Show All
Visual Studio Express Editions "Parameter is Incorrect" When Creating Tables
I am attempting to create a table through the database explorer. The problem is, every time I right-click on Tables, and select Add New Table, I receive an error message stating "The Parameter is Incorrect" I CAN connect to my SQL 2005 Express server, and the connection to my project's database works, but I cannot add tables... Any ideas hi, i guess there is a problem in your copy, did you try to uninstall VBEE and SQLServerEE and re install them if the problem still them same you can ask this question in Express installation forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=159&a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange Problem In Resizing Managed Direct3D Window
Hello, I had a strange problem, I had created a Windows Forms project in Visual Studio 2005. I render to this window using Managed Direct3D. I typically used 3 managed vertex buffers for rendering. When I try to resize the rendering window, The resizing operation was too fast and catching up my mouse pointer inspite of it's speed, This is good. But this happens only in Debug or in Release mode while Visual Studio is open!!. If I closed the Visual Studio and opened the application. The resizing operation will be too slow and really not good. I removed the vertex buffers and just the rendering routine clear the screen, I mean there no ...Show All
Software Development for Windows Vista Ah ya i need help badly?!
seriously microsoft you need better FAQS, i download vista 32 bit build 5270 DVD, i burn it , i install in middle i get and stupid erorr, could not move files from setup files blablabla.. NOW.. i read just mount is with something and run it, i ran it with daemon tools, installed put in my key and it restarts, i am all happy.. until the boot screen comes and then WALA restarts and doesn't work! i need help.. you can contact me by gmail, kasraowji@gmail.com here: the error is there was an erorr while copying the setup files to your local machine, code: 80070017 =( and yes i got over 80gb on the partition i am ...Show All
Windows Forms remote server is unreachable or the request has timed out
I've installed the Client and server applications to two different Windows 2000 machines and get the same error on both when I start the client "The remote server is unreachable or the request has timed out." I have SQL Server 2000 and sa has a blank password. The SQL Server instance can be referenced using "local" and I believe that&nb ...Show All
.NET Development SSL Socket Request C#
Hi, I have issue communicating with SSL sites. I would like to receive data from a SSL (HTTPS) site. I am using Socket class in C# my code is similar to the code below. As you seen there are no indication of how to behave with a SSL request. class MyClient { public static void MyGet( string sHost, int iPort) { IPHostEntry IPHost = Dns.Resolve(sHost); Console .WriteLine(IPHost.HostName); IPAddress[] addr = IPHost.AddressList; Console .WriteLine(addr[0]); EndPoint ep = new IPEndPoint(addr[0], iPort); Socket sock = new Socket(Addr ...Show All
Visual C# get Fibonacci sequence number base on user input
hi all, in my application, i want to return the n-th number in a Fibonacci sequence to the interface by asking user input. e.g. user inputs 5, and click on a button, it returns the 5th number in , which is 3. please help. lol, thx andrew, it's just an idea that helps me to learn c#.net. the math calculation, input validation and exception handling. I hate math, so i choose the eaist way, the loop :) ...Show All
Smart Device Development How can I start a program using the registry on PPC (at startup)
I assume this exists, similar to that of the desktop. Where do I put a registry entry so an application will run on startup Thanks! Did you find a way to solve this as I have the same problem. Al ...Show All
Visual C++ Should generate C4407 warning in VC++ 2005??
Consider the following code: #include <iostream> class CVA { public : }; class CVB : virtual public CVA { public : }; class CB0 { public : CB0() {} void TestFunc() { std::cout << _T( "In CB0::TestFunc" ) << std::endl; } }; class CB1 : public CB0 { public : CB1() {} void TestFunc() { std::cout << _T( "In CB1::TestFunc" ) << std::endl; } }; class CD : public CB1, public CVB { public : CD() ...Show All
Visual Basic vb.net and crystal report
I am currently working in an access database.Using vb.net, I made a form wherein a user can sort data he wanted to generate in a report...sorting are done by selecting the order_date of the transaction(e.g. from 12/01/2005 to 05/03/2006) then he had to select an account(e.g. company name) and lastly exam(e.g. urine test)...Upon completing the selection on the three fields, I want to generate the report base on the selection...I am obliged to use crystal report for this...can someone please help me how can i achieve this one..I am totally new in .Net...thanks in advance... Few questions first. What v ...Show All
Visual Studio Tools for Office Unable to create Word template project
Hello All, When i started learning VSTO i was happy to create my first word template application but i don't know suddenly what happend and now I am unable to create work template project. Whenever i am creating new project it is giving "Project cann't be created" although it is creating the directory on the given path. Plz tell me what do i do what causes it for not creating the project Best Regards Kausar It could be that the VSTO installation got corrupted somehow. This is NOT something we have seen frequently so I can't say exactly what might be the reason. Coul ...Show All
Software Development for Windows Vista Autorun in build 5270
Hi, In previous Vista builds, the autorun feature wasn't working. (if you inserted a CD with the autorun.inf file that defined an application to be run, it didn't run). Now in build 5270 it works. Does anyone know if it's enabled by mistake or will this behavior stay in future Vista builds, like it is in XP Thanks... I am pretty sure autorun will be on for Windows Vista client. You may have even noticed that in this build you have a contorl panel applet called autoplay to control the behavior. Josh http://windowsconnected.com ...Show All
Software Development for Windows Vista Scalability for Hosting Multiple Instances in a Single Workflow Runtime
Hi, I would like to know the maximum number of workflow instances that a single workflow runtime can handle at the same time. Is it just dependent on the server hardware hosting the workflow runtime or there is a maximum number of workflow instances to be hosted in a single runtime. Hi Akram, The maximum number of workflows that can run simultaneously in a single workflow runtiem is the same as the number of Clr threads available for the process. Typically this is 25 for Single proc machines and 100 for dual proc or server machines. You can control the number of instances that can be run by specifying the number in the ...Show All
