Bloke's Q&A profile
Smart Device Development Transfer an app to device emulator
How to manually transfer an app to device emulator I wanna transfer an console app ( binary ) to smartphone (Windows CE 5.0 )emulator and start it. Thx in advance Hi, use the remote file viewer, connect to your virtuak device and the use the export file feature to import the file from your dektopto your emulator. ...Show All
SQL Server More Info - HELP - Cannot connect to SQL Server 2005 Express
I've installed the SQL Server 2005 Express and also the MS SQL Server Management Studio 2005 Express But when i load the latter and try to connect to my database I get the below error message. TITLE: Connect to Server ------------------------------ Cannot connect to DEVCOMP\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 20 ...Show All
.NET Development Connecting to SQL Database
Can someone please tell me what I am doing wrong. I am not certain why I cant make the connection to my database. Any pointers would be greatly appricated. I keep getting the following message: Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated ...Show All
Windows Forms Yes! Another DataGridViewComboBoxColumn Question!
I'm sure everyone here is overjoyed! Here's my problem. 1)I fire off a query and fill up a dataset, grab a datatable out of and bind it to a DataGridView object. I'm not using any of the visual tools doing it all by hand. One of the columns in my dataset is an integer field called "status". it has a value from 0-3. nothing fancy. I then fire off a second query and fill another datatable with textual values of w ...Show All
.NET Development strongly typed dataset
Hi, The following line populates a datagrid using a strongly typed dataset. dsEmps is the .xsd file in the foreach line I would like to loop through each record I get an error on the foreach line and it says: specified cast is not valid I think this line has to be somehow casted employeeDetailsData.Employees.Rows EmpBusRule.EmpService.dsEmps employeeDetailsData; EmpBusRule.Employees br = new EmpBusRule.Employees(); employeeDetailsData = ...Show All
Visual Studio Tools for Office Launching Form in Outlook Add-in
I have an outlook add-in that launches a form to show status messages and receive input from the user. On my development machine, the add-in installs perfectly, runs perfectly. On any of our office's workstations, however, clicking the add-in's button display's the form, but doesn't do anything after that. Even though it displays the form, it doesn't seem to hit any of the frmSync_Load code. public partial class frmSync : Form { pu ...Show All
Windows Forms How can I persuade my company to use Windows Forms?
I have a meeting tomorrow and would like to persuade our company to start using Windows Forms. Currently we program mainly in C, a little C++ and use the Win32 API to produce dialogs. The bulk of our business code is legacy C. ...Show All
Smart Device Development WebResponse Close call hangs
I'm currently seeing a WebResponse.Close() call "hang" running CF2 from VS.NET Beta 2 running on a standard Pocket PC 2003 SE emulator. The HTTP request is being made against a Live365-based audio streamer (MP3 streamer) and the code below hangs every time I run it. The stream it is opening is thus very large and is binary rather than textual - but in the example code below I don't even read any of that stream. The code doe ...Show All
Visual Basic help file not showing after installed deployment msi file
in my application, i have a button called (btnHelp), its code is: Help.ShowHelp(Me, "..\CYM HELP.chm") which opens the help file from application root folder during debugging "start", help file showed as expected when btnHelp is clicked. i created my own deployment msi file, the default installation path is: C:\Program Files\SF\CYM\ how come when i run the msi file, installed the applicatin, run, and click on the btnHelp, the help f ...Show All
Visual Studio 2008 (Pre-release) ContentControl or Canvas
Hi, When creating custom controls, is it better to inherit a canvas,contentcontrol or usercontrol I would like to know if there is any performance/memory benefits from inherting from either one of them. Jaco Thanks, luckily I don't have to change my controls!! All of the inherit from ContentControl! With that said, do you have any idea when they will release the documentation to make the controls into com ...Show All
Visual C# Query Database
Ok. I am problem with querying my database. When I use the query command "SELECT * FROM TableName", then I have no problem. It shows the results as expected. But when I try to choose a certain field as follows: "SELECT * FROM TableName WHERE Song Name = 'Ben Stuart - A moment'; It doesnt work. Can someone tell me what the problem is ShellShock is on the money. that's the most correct answer. Field names should be in brackets w ...Show All
Windows Forms Knight Rider Like Wait Screen
I have a windows application that does things, like logs into a website, does some work with the file system, etc. This all happens once you type in a login / password. I would like the user to have a "please wait" screen with say a progress bar that works similar to the one that is shown during the Windows install. Moves back and forth, or moves across and starts new again so the user has a visual that its working, but I am unsure whe ...Show All
Visual FoxPro CRLF --chr(13)+chr(10)--> .Selstart Dilemmas in myEditBox
MyEditBox.SELSTART CHANGES during keypress events, interactive change events and/or programmatic change events when line-feeds (LFs) aren’t paired with (CRs): E.g., ‘LineFeeds’ [chr(10)] …seem to… insert themselves after every ‘carriage return’ [chr(13)] during *certain* run-time keypress events. Likewise…COM imports (e.g., oWord values) don’t seem to have paired CRLFs in them, but CRs only. VFP-9 seems to *prefer* paired ...Show All
Windows Search Technologies IFilter Preview
What interface and registry settings do I use to supply the picture for the Preview box in the Windows Desktop Search window I tried adding an IViewObject2 to my IFilter DLL but it never gets called. We do not have an official way of doing previews at this time...as our preview architecture will be changing in the future. There is an rather in-depth unofficial description of previewers and other things here http://spaces.ms ...Show All
Windows Forms Persisting design time property changes
Greets, I am trying to write a System.ComponentModel.Component that screens potential child controls at run time for various factors. Particularly, I'd like to force the name of the given child control to a value that I determine at the time ...Show All
