jking173's Q&A profile
Windows Forms Customizing StatusBar Control
I am creating a custom StatusBar control which houses a ProgressBar control. How can I show all the properties of embedded ProgressBar control on design time I want the property window of StatusBar control, shows all the properties of the progress bar. In this case, the object you are working with is a standard ProgressBar. The Propert ...Show All
Smart Device Development .NET CF 1.1 development and VS2005
I have a prototype for .NET CF 1.1. I need to complete it and make full application working on .NET CF 1.1. I have VS2005. So, i can develop application for .NET CF 1.0 and .NET CF 2.0. But I need to do it for .NET CF 1.1. I don't want to instal VS 2003. Can i develop application for .NET CF 1.1 using VS 2005 How Prototype building for .NET CF 1.1 don't want to run on .NET CF 1.0. It's hard to rebuild it. But if i do it , should it run on .NET CF 1.0. Can VS2003 have a conflict with VS 2005 Are applications building for .NET CF 1.0 always running on .NET CF 1.1 Where can i find .NET CF 1.1 for my PPC 2003 ...Show All
Visual Basic Vb.Net Help
Hi all i want to be proficient in vb.net,windows forms & ado.net.But Currently i'm working on vb 6 & some com concepts.I have read the theory part of .net. pls somebody tell me the topics which i concentrate so that i can get a fair idea of above 3. regards Atul The best way to become proficient is to Download the VB Express (its free) Start writing applications using Windows Forms and ADO.net Using the Help provided and these forums to get answers to you questions. Read interesting material on .NET magazines such as MSDN magazine, Code Magazine, Visual Studio Magazine always have interest ...Show All
Visual C# Problem about Control's SetStyle
I create a component inherit from UserControl,now,when i use SetStyle in initializing instance,code like this: SetStyle(ControlStyles.DoubleBuffer,true); SetStyle(ControlStyles.ResizeRedraw,true); SetStyle(ControlStyles.UserPaint,true); SetStyle(ControlStyles.AllPaintingInWmPaint,true); but,when use this component,it seem work well when set this small size,when i set size as 30000,30000,it contains a error:System.ComponentModel.Win32Exception but i think this SetStyle it's needed,how can i do with this problem What you're seeing is the failure to create a memory buffer of that size. When you set double buffer = true, there is ...Show All
Visual C++ Platform SDK
Hi narechk! > Why is not PSDK included with Beta 2 (Express) Will it be available > in the same package when VS2005 ships It was quite convinient to have > PSDK being installed along with VC++ 7.1, since just about any program > nowadays beyond 'hello world' #includes "windows.h" et al. VC2005 Express is primarily designed to build managed apps; and therefor you do not need the PSDK. By the way: it is no problem to download, install and use the PSDK with VC2005 Express. --- Greetings Jochen Just found the answer to my last question in another thread. Please ignore. (It's a bug, it's b ...Show All
Visual Basic Create Mdi Child Form
Hi, I am new to vb.net and wants to creat a desktop application using mdi parant and child form. please tell me how can i creat a mdi child from in vb.net for a mdi parant from. thanks This is wrong: Dim AboutF As AboutForm AboutF = New AboutF AboutF.Parent = Me AboutF.Show() it should be this: Dim AboutF As AboutForm AboutF = New AboutF AboutF.MdiParent = Me AboutF.Show() ...Show All
SQL Server Upgrade SQLServer Mobile (.sdf) database to SQLServer 2005
Hello, I have an SQLServer Mobile database, and I would like to know if there is a way to upgrade it to SQLServer 2005 (.mdf) database. My database has no records in it, just the structure (tables etc). What I am actually asking is if I can create automatically a new SQLServer 2005 Database with the same structure as my existin SQLSErver Mobile database Thanks in advance, TassosTS There are a number of ways you could pull this off, including: 1. export the data from your SQL Mobile tables to CSV files. then import that data into your SS2005 database 2. create a new SQL Mobile database. use RDA to pull (with tracking on) ...Show All
Microsoft ISV Community Center Forums VBA erase Image control
(My English forgives me) I need a help with this code, please help me I have 2 routines Incluir, adds 7 controls image for line whenever he finds the word Graphic Problem1, the image did not manage to put name to Borrar, it must eliminate the images that it is in this sheet Problem2, everything eliminates me and they are only the images those that I want to erase, since also I have buttons and cbo If they want to prove to a sheet in Excel 2003, change the name to brand place 2 CommandButton, write in B10, B25, B45, 60, Graphics and pegen this code --------------------------------------------------------------- Dim ...Show All
Windows Forms Double Buffering and Initial Painting
when I turn on double buffering ... I get the undesirable side effect that the control which is being double buffered momentarily has the same background as whatever the window popped up on top of. So for example, if the background is the desktop, the background of the control will momentarily is blue. (This is especially a problem in my app, b/c not all co ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Release: unresolved token IID_IDirectInput8A
I am trying to build a release version of my application but I can't seem to link it properly as explained in: http://msdn.microsoft.com/library/default.asp url=/archive/en-us/directx9_c_Oct_2004/directx/input/ref/functs/directinput8create.asp I'm trying to create a DirectX 8.x interface with the DirectX 9.0c software development kit (SDK) without using CoCreateInstance : Set "#define DIRECTINPUT_VERSION 0x0800" before the include statement for Dinput8.h. Call DirectInput8Create instead of DirectInputCreateEx . Link to the Dinput8.lib library instead of Dinput.lib. But I keep getting: error LNK2020: unresolved token (0A00012B) IID ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why so many big structures in managed directx?
I was told to ask this question here to get an answer: struct Caps 304 bytes struct Material 68 bytes ... These big structures are used as properties and passed here and there. Isn't this a big performance penalty I checked the generated asm code, and it seems these's no optimization to remove the overhead. So anyone knows why There is no difference between a struct and a class except for the fact that a struct has public members and a class has private. The old C style structs were different and needed typedef. But with C++ and now C# the struct and class are the same creature. ...Show All
Windows Forms OpenFileDialog "hangs" on Windows 2000
I have a WinForms remoted application using a simple OpenFileDialog control. When I instantiate the dialog, the program hangs and never responds. This only happens on Windows 2000. The program functions perfectly on Win XP & Win 98. The user is running the program as a local Admin, so Code Access Security should not be a problem (it s ...Show All
Visual C# Parallel execution of Functions
Hi ! I have 3 functions, which executes sequentially so take much time (about 10 minutes). i want to reduce time, by executing those by parallel. Those functions don't depend on each other. how can i do that, plz suggestion and code..... You could use the BackgroundWorker Class for this. there is an example in MSDN: http://msdn2.microsoft.com/en-us/library/4852et58(en-us,vs.80).aspx ...Show All
Visual C++ Exception during module load?
I've got a bit of a showstopper problem that sounds vaguely similar to some of the other posts on here. I am porting a large MFC-based application from Visual Studio 2002. I've built and run in 2003, 2005 Beta 2, and now 2005 RC1 (all using the IDE.) I'm seeing a new problem with the RC1 build: we're crashing during startup before our CWinApp constructor, before DllMain in any of our app DLLs, and maybe even before static initialization (breakpoints set in very early static init are not hit.) Here's the WinDbg output: CommandLine: C:\depot_two\dev\Slow_Debug\MyApp.exe Symbol search path is: <redacted> Executab ...Show All
Visual Basic Object instance lookup & lifetime
Hi there, currently still using VB6 but exploring the move to VB.NET. We have a multi tier application with a tier in which we have created object classes representing table records (Flight, Booking, Airstrip, Passenger etc.) Since these objects are referring to each other we need to be aware that we do not create more than one instance in memory for a certain FlightID. Hence we have a "cache" (dictionary) which holds a reference to every instanced Flight object etc.. This in order that the Passenger.Flight and Booking.Flight actually refer to the same flight instance. The question is this: - In VB6/COM you could (with difficulty) find ...Show All
