A.Russell's Q&A profile
Windows Forms Applying WinXP to all app controls independent from Windows theme
Hello all. I have application, that was developed with use of standart WinXP theme (I mean I use this theme when I was developing app and when I created application design). But when I change theme appearance I get lots of problems with design. Actually it can be done by creating my own controls and setting their appearance panually. But it will take really looooots of work. So is it possible to say application "use default Windows XP theme appearance and ignore current theme settings". Any help will be muuuuch appreciated not sure about that. Have you tried to use the EnableVisualStyles() method Place this code in your Main class: Application.EnableVisualStyles(); this has no effect for OS's that don't support the vi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Wiki Project
Me and a few friends have started a XNA Wiki project for the community...please stop by and contribute any expertise you can lend to make this a good source for the community for quick reference to everything from theories, to simple and easy to understand documentation on XNA. We're hard at work this week expanding the XNA section. If you have a XNA tutorial or community website, please be sure to drop a link off on the page too! CodeGeeks XNA Wiki Project We've created a script on www.codegeekswiki.com that we would like anyone involved in the XNA community, or any other language/framework to please put up on their site. It will display a search box for the wiki that users can then use to search for any ...Show All
Visual Studio Express Editions help : Project Internet download accelerator.
Hello!!! I am a visual basic 2005 beginner. I have a project to build a Internet File Download accelerator. I can understand how to start. Can somebody please give me some Idea. I want to practice some tutorials on downloading file from internet and multithreading..... Plz tell me where to start...... I will be thankful.... Threading: http://msdn2.microsoft.com/en-us/library/system.threading.threadstart.aspx downloading files requires either the use of httpwebrequest/httpwebresponse or you could use webclient class http://msdn2.microsoft.com/en-us/library/system.net.webclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.webclient.downloadfile.aspx http://msdn2.microsoft.com/ ...Show All
Visual C# Shared Add-In project
Does a shared add-in dll ( hosted by Excel ) operate in Office XP (2002) I developed an add-in for Excel in VS2005 as shared add-in project. When it was ready i created the setup for this than distributed to our customer. The customer has Office XP (2002) and after installating the add-in, it had no effect. I have Office 2003 so when I tested the application was operating in order. The setup project contains the following: - dotnetfx.exe ( .NET 2.0 installation ) - office2003-kb907417sfxcab-ENU.exe (Kb908002) - setup.exe and ...msi By the way I read that the Extensibility.dll, Office.dll and stdole.dll is required by the shared add-in. I put these files also to the setup project but no effect. Any idea Thank You! Gabor Hargitai p.s. : ht ...Show All
Game Technologies: DirectX, XNA, XACT, etc. For DX10, will there be a Managed API other than XNA?
There are several things missing from XNA that make it only useful for specific scenarios; I understand this is intentional, and I agree with the move to produce a x-platform game-dev api that keeps focused on specifically what it is meant to do. But it looks like XNA is meant to completely replace MDX in the long run. Does that mean that any developer looking to work outside of the box a little, to explore new solutions, or to produce applications that don't belong under the typical 'game' umbrella, will be forced to use the low level DXSDK api's Currently, the only way to leverage certain kinds of functionality (for example, real-time audio data generation and manipulation) in managed code, is to use MDX. XNA will not provide access ...Show All
Visual C++ How can i make my editing auto completed?
I use vs2005 to write cpp code A class is defined in a .h file, and I refer to this class in a cpp file including the .h. when I type "->" following a pointer of that class, no hint is showed about the members How can I make it work, thanks Then you should put define blocks around it. //a.h #ifndef __A_H__ #define __A_H__ class a { //whatever is in a }; //b.h #ifndef __A_H__ class a; #endif class b { /whatever is in b } By doing this you will have it only resolving the decleration when there is no previous inclusions of a. Or another step in this could be. #ifndef __A_H__ #include "a.h" #endif So you can include the entire class decleration when no previous include for a.h exists. ...Show All
Visual C# DLL Returns object {string[]}
Greetings, Calling a DLL method that returns an array of strings, but I can't cast to string[]; object o = myMethod(); string[] s = (string[])o; //generates "Unable to cast object of type 'System.String[\*]' to type 'System.String[]'. (I had to put the \* in, without the \, it treats it as a different [\*] as a different char) The Autos window shows the data properly; [1] "String1" [2] "String2" using System.Runtime.InteropServices; ..... IntPtr pointer = myMethod(); int count = 3; // I don't know how to figure out the length of the array if it's not returned by your method. I'm assuming 3 items in the array here... for (int i = 0; i < count; i++) { IntPtr st ...Show All
Windows Forms Changing the form icon doesn't update the taskbar
Hi. I've been trying to put an icon animation in the application's taskbar icon to indicate that an activity is going on while the programme window is minimised and other applications are working in the foreground. Therefore, I dynamically create a new icon that I assign the Form.Icon property. This works fine for the window icon, when the window is visible and restored. But the taskbar isn't updated at all. It shows some garbage but not the icon from the window. The taskbar icon is only updated when the window loses or gets the focus or is being minimised or restored. But still the icon looks distorted from what is clearly visible in the top-left corner of the window itself. Updating the window text updates the text in the taskbar, too, b ...Show All
SQL Server Having Problem with Report Parameters
i am trying to generate a report based on 3 parameters age, location, ethnciity every thing works fine in data and layout tab, when i run the preview tab, it give me the option to input paramaters and then when i hit veiw report, it shows processing report.... (indefinite) time. i tried executing the query in data tab, it takes less than a sec. any ideas am i doing somethign wrong in parameters its some weard problem. its hitting the dbase and i double checked it in the profiler. i dont knows what happening. i deleted the data cache files in the folder and tried rerun again.. nothing works. data tab works 1000 times fine. ...Show All
Visual Studio 2008 (Pre-release) about WindowsFormsHost
I use WindowsFormsHost to host a Windows.Forms.PictureBox control in a WPF application I want to cover it with some other WPF controls( e.g. Image), but no control in WPF can appears in front of the WindowsFormsHost control. Why How Thank you! You can't. This got me as well. See http://windowssdk.msdn.microsoft.com/en-us/library/ms744952.aspx ...Show All
SQL Server Files not creating on Win2003
I have created a package which extracts data from a table and creates several files. This works fine on my PC (WinXP SP2), but when i deploy it to the server it doesn't work. I have also tried to create the package from scratch on the server as the administrator and it still has the same problem. Anyone have any ideas Sorry Michael, "it doesn't work" means that the files are not being created but the rest of it executes successfully. I'm not sure how to enable SSIS logging. Can you please point me to where i can find out how Thanks ...Show All
SQL Server Web Synchronisation Throuth SSL
hi, i have done Web Synchronisation Using RMO , where i have an remote server at a remote place, where the Virtual Directory is Configured With SSL, for testing purpose if i access from the Client Computer entering http://72.17.246.214/SyncAbita/replisapi.dll diag " in the address of IE giving an errormessage "Unable to Reach Remote Host", if i remove SSL on the Server , i am able to access "SQL Websync diagnostic information" Page from the Client Machine, is it not possible to get perform Web Synchronisation With SSL, then i have inStalled 7 days Trial Version SSL on the Sever. Can any body help me out on this Issue i had mismatch of machinename in the certificate and that one i was using in url , but ...Show All
Visual Studio Team System Automating Functional Testing
Hi - Is there some way to automate the functional testing of a Web Application I'm looking at Web Tests, and it looks like I need to create one test for every web-input I want (since I need to then validate that test with Validation rules for that particular input). Here's what I'd like to do... Store valid inputs and their corresponding expected outputs in some kind of datastore (SQL, Excel spreadsheet, etc.) Create *one* Web Test that will loop through the valid inputs and validate the output (compare with the expected outputs in the database). Is there some way to do this Do I need to write custom code for this Or is this not correct usage of Web Testing Thanks Yes you can do this. ...Show All
.NET Development Problem with InitializeComponent()
im building a program in Visual Studio 2005 My OS is windows Xp professional and I have a problem for days now The language is VB.NET we can run the code on the machine where the code is written on, but when we try to run it on other machines they give keep giving errors. When I try to run the program I get these errors on the InitializeComponent() -Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) -The variable 'InetConnection' is either undeclared or was never assigned. -Duplicate component name 'InetConnection'. Component names must be unique and case-insensitive. can anybody help me out, this is very urgent, I need to solve this quickly. If more info is needed, please ask so..... thx Kenneth ...Show All
Visual Basic Accessing VB component property methods from C# application
Hello Can someone help me for the below proble, I am working on a task of converting one vb6 application in .Net. Current vb6 application is using one vb dll provided by third party. I have written a code in C# and added the third party dll (developed in vb6) in the reference. The strange problem I am facing is that I am able to access all the properties of vb6 dll but not the methods of the property.One thing I do not know is whether the property datatype is collection or any other datatype. For example : TestClient.Client objClient = new TestClient.Client(); I am able access the "GenericBO' property of the objClient but not the "Item" method of the "GenericBO' property. In current VB6 the sam ...Show All
