BluePain's Q&A profile
Windows Forms .Net Compact Framework - ComboBoxes & Trapping Keyboard Entries
Hello All, I've searched the forums and can't find a solution for my problem. I'm building a windows forms app on WindowsCE.Net & PocketPC 200x using the .Net Compact Framework. My issue relates to comboboxes and capturing keyboard entries such as Ctrl-A, Enter, Ctrl-F2, etc. Using Microsoft's sample app at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/messagewindow.asp I ...Show All
Windows Forms Tabs Voluntarily Rearrange Themselves...
I've heard of lots people with this problem, but I've never seen an official (or unofficial, for that matter) reason, work-around, or bug confirmation for it. My tabs in my application randomly rearrange themselves randomly in debug mode somewhere between F5'ing, saving, and closing/opening Visual Studio. I can go into the collection in the tab properties and arrange them back the way they belong, but then 15 minutes, an hour, a day later, they've rearranged themselves again in some different order. I've noticed the first tab and the last tab never move...just the ones in between. Sometimes it's only one tab that moves three, ...Show All
SQL Server SQLExpress database file auto-creation error
Hi, I'm not sure this is the right location to post ... I got some issues with VS 2005 BETA 2. I done full install except for SQL Express and full install of the SQL server disc. Now when looking at the starter kits or building app / sites using sql connection i get the following error: An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 5118 and the SqlException message is: The file "R:\DATA\VS2005\SAMPLES\PWSSK\APP_DATA\ASPNETDB.MDF.MDF" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed. CREATE DATABASE failed. Some file names listed c ...Show All
Visual Studio Team System MSDN Academic Alliance
Will TFS be available for universities via the academic alliance program I couldn't find any page with any information on that. Let me also state my opinion on that: I think learning how to organise team development, manage a dev process etc is a key component of any CS education. So, I think you guys should do everything so CS faculties can provide a TFS for all their students so that they learn how to use it. Along that line I believe you should include the Team Suite in the academic alliance program instead of the pro version. I think it is so important to NOT have students use tools that are less professional than what they will use on ...Show All
Visual FoxPro VFP
In VFP 8.0 I have a table build and need to write a prg that well look in a fold and what ever files it sees it import or append in the existing table. The files that it will import or append will always be in the same format and have the same structure. I'm new at this. Any help would be great. Thanks, Brian Something like: use myTable lcFolder = getdir() for ix = 1 to adir(aFiles, addbs(m.lcFolder)+'*.txt') append from (addbs(m.lcFolder)+aFiles[m.ix,1]) type delimited erase (addbs(m.lcFolder)+aFiles[m.ix,1]) && or rename endfor ...Show All
Visual C# Project fails to copy latest built dll into start-up project's folder
I have several projects in a solution. After I build the project, it fails to update the start-up project's copy. If I look in the bin\debug folder for the project, it looks up-to-date. However, the start-up project's copy of the dll is old. If I copy the dll's to the start-up project's bin\debug, it works correctly. When I examine the References in the start-up project, it is looking in the correct place. Any clues on how to make it copy the latest build dll into the start-up project Thanks! You should try readding the references to the DLLs (Right click project -> Add Reference). Another thing to ...Show All
SQL Server Excel columns to a temp table in SQL
I would like to transfer all the cells of an excel sheet to a temp table in such a way that there is no data loss and no rows of columns of data are made to Null or omitted. I am keeping the datatypes of columns in the temp table as Varchar(255). Thanks Clayton. This is the oldest Excel driver problem in the book, and is documented in the BOL topic on the Excel Source (which is currently being expanded with still more "known issues" information). If you would like to write to me directly, douglasl@microsoft.com , I will send you a Word document that discusses at greater length all the potential known issue ...Show All
Software Development for Windows Vista Workflow Designer Rules Support
Hi, I'm in the process of trying to setup a demonstration application which shows an example of workflow and rules management. I need to basically setup a workflow, set some properties, then run the workflow from the designer. Part of this demo include the use of an IfElse activity and a Policy activity which link with the rules engine portions. I've trundled through the examples and the current samples get things about 75% of the way there, and I've probably gotten another 5-10% there by looking at the threads here, but I'm still stuck. Here is what's happening: 1. Create a new workflow 2. Drop an IfElseActivity on the design surface, thro ...Show All
Visual C++ Finally
I'd move your post for you, but currently moderators don't have that ability... you get off with a warning. :-) Steven Zhao wrote: I am new here, I now use php to create web app, A good language which not choose or based on Ms.NET It is first step...! Phalanger: PHP .NET compiler http://channel9.msdn.com/ShowPost.aspx PostID=48906 Our integration introduces the PHP language into the VS.NET in a specific project type supporting syntax highlighting and compilation. PHP files are compiled to .NET Framework executables and can be executed and even traced from the VS.NET environment using the generated debug information ...Show All
Visual Studio Express Editions How do I read and write to a SQL database.
How do I read and write to a SQL database I have VB Express installed, and I just want to have like a structure in my database like this: Name Age John 18 You see But, how do I do that Is there any tutorials on this or hi, you will find a good one in this link lesson 8-9 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=256005&SiteID=1 you will find other tutorials here in this thread just follow the links http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=256005&SiteID=1 hope this helps ...Show All
Visual C++ Problem just creating a winmain and a window
Hi, im just staritng with win32 app programing and im trying to create my firt winmain and a window. I toke from a manual of win32 a code, but it give me this error: error LNK2019: extern symbol "long_stdcall WindowProcedure (struct HWND__* )" The code is this: // Ficheros include: #include <windows.h> // Prototipos: LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdParam, int nCmdShow) { /* Declaracion: */ HWND hwnd; MSG mensaje; WNDCLASSEX wincl; /* Inicializacion: */ /* Estructura de la ventana */ wincl.hInstance ...Show All
Windows Forms Custom ScrollBar
Ok. I have made a media player. And one of the functions is listed down below: public int Duration() { int ReturnSeconds; sCommand = "status MediaFile length" ; mciSendString(sCommand, sBuffer, 128, IntPtr .Zero); ReturnSeconds = int .Parse(sBuffer.ToString()); ReturnSeconds = ReturnSeconds /1000; return ReturnSeconds; } This code moves the Scrollbar exactly to the time of the song. Can someone tell me how to make a custom scrollbar In other words, maybe have a panel, then a picture in a panel (a slider), and how to make it move to the song length/duration Just override the OnPaint command, and create a PrograssB ...Show All
Software Development for Windows Vista Events not reaching Workflow...
Very likely I am not doing it right but cant see the obvious. I used the "Communicating with the host application" lab exercise document as the base with some changes, I have host app (implemented as windows service) that, based on config, loads a couple of assemblies implementing certain local services. The app first registers an instance of ExternalDataExchangeService with the WF runtime which it then passes to the assemblies implementing local services. The assemblies then register instances of their respective local services with the external data exchange service. These satelite assemblies also expose remoting i/f w ...Show All
Visual Studio Express Editions Newly added user control can't be edited.
Hi! Since yesterday I get an error if I add a new user control to any of my projects. Even completely new ones. When I add a user control only the *.cs and the *.Designer.cs files are getting created. But no *.resx file. The control is being displayed but when I'm resizing it, after accessing my HDD, I get the message "Die Datei ist vorhanden." which translates to "The file exists.". I already tried to repair and deinstall/reinstall Visual C# 2005 Express Edition but nothing changed. Is there a way to resolve this Thanks in advance, Patrick Patrick: Thanks for bringing this to our attention. We a ...Show All
Visual Basic searching a text box
Hi all, I need to search a textbox for a phrase like "R20" or "R21" or "R44" The phrase could be anywhere within the text and in any order and buried within a string of text eg.(Harmfull to.... R20, flammable liquid....R45), when I have found the phrase I need to copy it over to another text box to build a string like R20, R21, R44. I have tried everything I know as a VB newbie but am completely stuck on this one so any help would be grately appreciated. Thanks in advance. It depends what the general case is of what you're trying to do. If you're looking for a sp ...Show All
