Can-Ann's Q&A profile
SQL Server CE support from ASP.Net 2.0
MS states that CE does not work with ASP.Net applications 'by default'. What is needed to change this default Bascially, my desktop app. is configured from a browser app. (ASP.Net 2.0) and I want to use CE as the datastore for the application. Thanks. I don't think this is such a good idea. SQLCe is not designed for this type of application and while it can be adapted for use with ASP.NET, I don't recommend it and (frankly) don't want to encourage you to do so. The information on how to use it on ASP.NET has been published... ...Show All
Visual C# Disable the (red x) button on form
Hi all, 1. I ran into a problem trying to disable the (red x) button on the dialog box. for example, on the dialog it has Minimize and Maximize buttons, I can set that to false to disable it, but I can't set the close (red x) button. Please help me how to do that. thx 2. I ran into another problem, when I run my C# program and I have a main dialog box and also a popup dialog box when a button is clicked from the main dialog box. Some how it shows on the taskbar two (like two programs are running). I only want it to show just one not two. refer to the image ( http://www.esnips.com/imageable/large/f12fbc79-83ed-470d-832a-2a105d493d5e ) vshost.exe. Any help would be appreciated and I'm using C# Express 2005 Jason If yo ...Show All
Visual Studio ctc compilation failure - Error 9 CMDS: Unknown subsection header
I have a VSPackage project and I'm getting the following failure after editing the resource file Error 9 CMDS: Unknown subsection header C:\\MyProject\\Project\\CtcComponents\\PkgCmd.ctc 47 MyProject The line number 47 is at fault, but it looks good. CMDS_SECTION guidMyProjectTypePkg The usual stuff is in the PkgCmd.ctc file, no menu or toolbar additions. I think the error is not pointing me to the correct spot. the Guid does exist in the guid.h and guid.cs files. Has anyone seen this before. I cannot build my project. I have noticed that there appears to be a duplicate PkgCmd.ctc file generated by the Ctc compiler, at least when I search for the guid two occurances of the same code appear in different files (VS locates the file at ...Show All
Visual Studio Express Editions Help with code plz, copy paste sendinput coding
I finally was able to get code I thought would work. I use dragon naturally speaking and in some nonselect and say text area (that means cant use voice dictation there) I wanted to open a dictationbox dictate into it, then transfer the text from it into the nonselect and say fields. After I made the app, if i manually copy and past ctrl a or ctrl c or ctrl v that works fine. its my auto code thats amiss. Am trying to avoid sendkeys aws vista is coming and i hear wont support them, plus they have issues with use. I get an error when run it that says to large or to small for Int16 no idea what that means. here is the code. Imports System.Runtime.InteropServices Public Class Form1 Private Sub DoKeyBoar ...Show All
Windows Live Developer Forums MSN MESSENGER
I am using Visual Basic 2005. I would like to make an application which can control some options of MSN Messenger like sending an instant message. I would like to know which dlls I need (if any) and any references (if any). I would like someone to show me hiw it must be done. Thanks GlennZarb wrote: When I try to run it i wont mork because the application has failed to start because rtl70.bpl was not found. What can I do Really Would you like to tell me what's application name you run ...Show All
Visual Studio Express Editions Change user sql password from web page
Hi. I’m trying to make a webpage where our support desk can change other user’s password. They are created as a user on the sql server. I’m using Visual Web Developer 2005 (VB .net and sql server 2005). I have tried to use ‘ Alter login …’ and ‘ sp_password ’ with the UpdateCommand, but I can’t get it to work. I’m grateful for any suggestions. what happens when you "can't get it to work" Any errors what are they you may need to add the current user account you are using in SQL to the allowed list so they can execute that stored procedure (sp_password) ...Show All
Visual Basic Printing - skip a page
I'm using the PrintDocument's PrintPage event to do my printing. All works fine, but I can't figure out how NOT to print a page of a multi-page document. Even if I never call DrawString inside the PrintPage event for a particular page, a blank page is sent to the printer for that page. Say you want to skip page #3. When the 3rd PrintPage event fires, just render the contents of page 4... ...Show All
Windows Forms Form2.0 PixelFormat
Hi there folks, I am porting my OpenGL control ( written in Managed C++) to C++/CLI, and for my surprise the PIXELFORMATDESCRIPTOR struct (which is valid in net1.1) that I pass to wglCreateContext() simply returns a ERROR_INVALID_PIXEL_FORMAT. Anyone had problems with that Are there new rules for pixel formats in net2.0 Thanks in advance I doubt it is any help but this code ran without errors in a VS2005 C++ Windows Forms project: System::Void Form1_Shown(System::Object^ sender, System::EventArgs^ e) { PIXELFORMATDESCRIPTOR pfd; pfd.bReserved = 0; pfd.cAccumAlphaBits =0; pfd.cAccumBits=0; pfd.cAccumBlueBits=0; pfd.cAccumGreenBits=0; pfd.cAccumRedBits=0; pfd ...Show All
Windows Forms How do i do multipage forms
Hi, i've been using asp.net 2.0 for a few months now and found it pretty easy to pick up coming from a web development background. However i'm developing a code generation script for my multi tier website and i would like to do it as a windows form. I thought this would be a good time for me to fully utilize visual studio 2005. So far i am able to add a new project and have two text boxes and a button which has an onclick event and adds the numbers together and displays it in a label control. The problem i have is that my application needs to be a little more difficult than this :). What i need is a multipage form which i can fill out and then finally click finish and then i handle the data. In asp.net i would simply use the wizard c ...Show All
Internet Explorer Development Favorites links not working
When I click on some on favorites that have been added, nothing happens. I delete them and add them again and they work for awhile then stop. I have reinstalled IE7 twice but this continues. Please help, and thank you. Tom thomas wrote: When I click on some on favorites that have been added, nothing happens. I delete them and add them again and they work for awhile then stop. I have reinstalled IE7 twice but this continues. Please help, and thank you. I am having the same exact problem with my favorites, they work for awhile then stop!!! Is there a fix yet ...Show All
Visual C++ RegistrySettingsProvider
I'm using the RegistrySettingsProvider MSDN example to save settings in my WinForms application, but I have a couple of questions. First, When calling SetPropertyValues(), the app would fail when using SerializedValue. I then added code to check for propval->Deserialized to determine if I should use propval->PropertyValue->ToString() vs. propval->SerializedValue. Why does this happen and why is this not needed in the MSDN example Second, I now have an issue where I can compile and run my code in debug mode, but in release mode I get an unhandled exception of type "System.TypeLoadException". Could not load type "Namespace.RegistrySettingsProvider" from assembly Namespace, Version=1.0.2531.22047, Culture ...Show All
Visual Basic Save
The menustrip has a button to save...How do you make it work save the form the UI form I don't think you can do this, but only save contents of the controls to a textfile, such as text in a textbox for example: Dim theWriter as new System.IO.StreamWriter( yourFile.ext ) theWriter.Write( Me .theTextBox.Text) theWriter.Close() or: My.Computer.FileSystem.WriteAllText("MyFile.ext", Me.theTextBox.Text, true) would append to the file specified, the text from the textbox both results in the same response ...Show All
Software Development for Windows Vista How Vista block certain executable
I was wondering how Vista block a certain .exe from running. (This is when a dialog box pops up forcing the user to check against a known solution in some Microsoft website). Is this automatically trigger when you try to do a certain thing or maybe invoking a certain obsolete API or the OS is checking this against some data somewhere Can 3rd party use this feature if I want to force to block my app in Vista and force the user to download update ...Show All
Visual Studio Express Editions idiots code book
hi everyone, i am a beginner to vb as are many who post here, i am putting together a book that explains all code statements and explains how they work and what they are doing better then some of the books i have read. i there is anyone who can submit their error mesages and solutions that will be great, also i will be posting all kinds of command questions as i have already done to others on other posts and i would be gratefull for yoiur explanation comments. i want to start with accept changes why do i use it and wehn dio i use it, what is it for thanks Try here: http://msdn.microsoft.com/vstudio/learning/default.aspx ...Show All
Visual C++ What is the ALT/MFC Trace Tool?
What is the ALT/MFC Trace Tool Is there any documentation Thanks JEK Hello There is a sample here: http://msdn2.microsoft.com/en-us/library/khbh432d(VS.80).aspx - I am sure if you use it you will understand what it does. Thanks Damien ...Show All
