YN's Q&A profile
.NET Development asp tp asp.net
Hi, I am converting an asp application to asp.net, I have a file by name default.aspx, and the following code is in it if session("school_id") = "" then '***************************************************************** session("school_id") = "22" '***************************************************************** end if Theres a file thats included in default.aspx which is <!--#incl ...Show All
Visual Studio 2008 (Pre-release) SQLMetal Timeout
I am getting a timeout error when I run SQLMetal on some of my databases. Are there any restrictions as to how many tables there can be The ones that time out have 300+ tables in them. I can get it to work on smaller databases (e.g. Northwind and some of my own with less than 100 tables). -Larry Thanks Larry for trying out SqlMetal. This is a known issue we are looking into - SqlMetal currently does n ...Show All
Windows Forms FLex,Bison and...vb?
I have to work with strings and it´s schould be more easier if i can use those kind of tools. has anyone made something like that those tools are code-generating tools designed to aid in compiler development but can be really ...Show All
Visual Studio Team System Using VS2005 (beta 2) with custom rules
Hi, I'm trying to integrate custom FxCop rules using the Code Analysis capabilities of VS2005 beta 2 and I'm hitting some problems :( I've written a very simple custom rule which loads and runs OK under the stand-alone version of FxCop 1.32 I've then changed the FxCop and Cci references (and imports) to hook up to the integrated version of FxCop (SDK under "Team Tools") so I can load the rule for use in the IDE but that ...Show All
Smart Device Development Phone call in evc++ vs2005
Hi all, The project created is in win32 console programming I have written this code #include "stdafx.h" #include <windows.h> #include <commctrl.h> #include <phone.h> //this is the main entry point for the application int _tmain( int argc, _TCHAR* argv[]) { PHONEMAKECALLINFO info; memset(&info 0, sizeof (info)); mci.cbSize = sizeof (info); info ...Show All
Smart Device Development Remove CeRunAppAtEvent registrations
I'm having an awful time trying to get event triggered registrations to remove. It just plain isn't working. At this point I have a device with 2 or 3 registrations for the same event and same program. here is the line of code I'm using for the (attempted) unregistration: CeRunAppAtEvent(path, NOTIFICATION_EVENT_NONE) Here is all of the code, taken from the web: Option Explicit On Module RunAppOnActiveSync Const NOTIFICATION_EVENT_NONE = 0 C ...Show All
Windows Forms Diferent winforms in same window logic. How it works?
hi everyone, You know that 'Tracker" application made by Jason Beres that is in the "Applications" link here in windowsforms.net It looks like it has many winforms (Tasks, Contacts, Timeline, etc) but all of them loads on the same "window"...v ...Show All
SQL Server Using UniqueIdentifier as Primary key
Hello, is it a good idea to set an UniqueIdentifier field as primary key why i can't set an indentity specification How can i do Thanks a lot You can only specify an identity attribute for fixed precision data types and always returns an integer based value (i.e. non-decimal). For example int, bigint, numeric, etc. As for if it's a good idea to use a uniqueidentifier as the primary key, that's always up for debate, but yo ...Show All
Windows Forms Getting an MDL child window handle
I have some Managed C++ code where I am adding a couple of windows as child MDI windows, I need to then get their handlem I made a function which just does: return (HWND)this->Handle.ToInt32(); But this crashes with "Error creating window handle.&qu ...Show All
Visual Basic selecting only part of an image
hey all, I'm 1 month into programming, and need a little help please. I have picturebox1 on a form, but only want to display a part of the picture. The picture has been saved as a resource, and is a bitmap. How would I go about doing this all help appreciated Yabby, I think the easiest way is to cut the bitmap using MSPaint ...Show All
Software Development for Windows Vista missing library uafxcwd.lib
I'm trying to compile some older example code for an OCX on the latest VC++ EE. After some stumbling around I was told I needed the PSDK, which I installed. Now when I compile this code, the link fails, complaining that it can't find uafxcwd.lib. This file is present in the AMD64 and IA64 folders, but not in the main Lib folder. (The x86 version of the PSDK is what I installed.) I tried linking with the AMD64 version, which not surprisingly didn ...Show All
Windows Forms Appupdater Woes......
I asked my hosting compant to allow file browsing for a specific folder, which they did. When I use the Appupdater component, I get the following error: 7/27/2004 11:26:46 AM: UPDATE FAILED with the following error message: System.Net.WebException: The remote ser ...Show All
Windows Forms transparent labels
I have a control with a graphic. I put some labels over it, and set the background to transparent. This doesn't mean the graphic shows through, it means the background color shows through. Do you know how to get a truly transparent background o ...Show All
Visual Studio Team System Line Breaks in Printed Work Item
If you print a work item, the description block doesn't show the line breaks. Is there anything that can be done in the short term to get this functionality to work I need to print out a bunch of scenarios for management and white space really matters. What to do Bug fix Do I really have to wait a couple months for this issue to be resolved in RTM ...Show All
Visual Basic Select A Row in a Datagrid
I want to be able to delete a row from a datagrid based on the row the user has clicked on. Whichever row is highlighted, I want to delete it from the grid. But I cannot find any examples on how to do this. Any help would be great! Thanks! There should be plenty of examples of this... providing you know what you're looking for. The trick here is understanding that the DataGrid is only a display control; that ...Show All
