twindragon's Q&A profile
Visual Studio Express Editions How can I make a Project Wizard/Template?
Hi; I want to make a Project Wizard/Template to eliminate the need to hand edit configuration settings. How can I make a template wizard for DirectX projects with Visual C++ Express 2005 Thanks you very much. Yes, it works fine with VC# Express, but VC++ Express doesn't have that option. The thing is I want to create a Template for and Allegro project, is tedius to configure the environment all the time so I just want a Template with the basic code and the settings to build and compile an Allegro game. Also I want the same for a DirectX Game Template. What I'm doing now is to copy the project in a folder and rename it, but is a little bit ugly. ...Show All
Gadgets System.Network.Wireless Not Working
It seems like System.Network.Wireless doesn't work... I have tried a few Windows Vista Sidebar gadets that use it and non of them work. I have also tried creating my own gadet and it doesn't work either. Has the object refrence been update but not the documentation Has anyone else seen this issue Or am I just doing something wrong I tried the following to have it printed out on the gadget and also saved in the Event Log and both places show that nothing is outputted. (and before it is asked, yes I do have wireless that is what I am using to write this and dont even have a hard connection) var IPAddress = System.Network.Wireless.address; gadgetContent.innerText = IPAddress; System.Diagnostics.EventLog.writeEntry(&quo ...Show All
Windows Forms using applicationsettings/propertybinding to save form size etc.
I want to be able to save the following: The last position and size of the form when not maximized and the last windowstate. ie if the user closed the app maximized, next time I want it to open maximized, but if the user sets it back to a normal window, I want it to display using the save size and location (as Microsoft Word does). I have created three user settings with the appropriate type. If I bind these to the form properties, it seems to really screw up (it works ok until I add the windowstate, but I need this setting. Otherwise, if I maximize the form and then close and reload the app, the windowstate is set to normal, but the size is set to the whole screen). I have also tried setting these properties in the constructor and ch ...Show All
SQL Server Migration form MS access reports to Sql server reports
Does any of the free dowloadable reporting packs come with Reporting Services wizard to migrate data and reports from MS-Access Does SQL Server reporting tools come integrated with any of the VS 2005 tools It may be, but with what is built into Reporting Services you have to have Access 2003. This doesn't mean you couldn't open the Access 97 database with a 2003 version of Access. ...Show All
.NET Development msxml 4.0 SP2 (kb 927978) installing continuously
I reinstalled my sistem three weeks ego.Updates coming one by one,every minute ,non-stop.After every update finished,in my C disk is making a new file like ff22b18b93b61efeac529dda2518...calling.There is more than 400 of those files.Can someone tell me if is something wrong with my laptop and if it is what to do thanks! Hi: I've the same error after my last OS reinstallation ( that was two week ago aprox ). This update have been creating folder's ( more than 8 ) in my C disk with a strange combination of letters and numbers. I tried a lot of methods to resolve or find an answer for this error. But, it still happen the same. If anyone find the answer for this error I'll appreciate. ...Show All
Visual Studio Express Editions How do i create a new Type?
i need to create a type Color3(byte r, byte g, byte b). so that i can do "Color3 visgroupColor;". yet i'm finding it a struggle to get any info on how to go about doing this. i also need to do Vec2, Vec3, Vec4. so if i can do Color3. the others will no doubt be done the same way. Hi, Why can't you use the standard color class Color c = new Color (); c . B = 10 ; c . R = 200 ; c . G = 0 ; To define a new type you need to create a class. ie: public class Color3 { public Color3 ( int red , int green , int blue ) { //... } //... } You might want to read a book on object-oriented programming. Regards, Charles ...Show All
Visual C# base class methods calling derived class methods ?
Ive inherited a C# class library and it seems that several of the base classes implement some methods that call methods which are defined in classes that are derived from the calling method's class. Is this "normal" eg: BaseClass method1 method2 { //some code here some_int = get_the_int(); } DerivedClass:BaseClass method1 method2 get_the_int () { //get the int here... } If you have a method marked as virtual in the base class and overriden in sub classes, than, everytime that base classe's methods (constructor too) invoke the virtual method the actual method executed is the most overriden. This is a common issue in polymorphism semantics actually addressed in many Guru Forums, in the sens ...Show All
Visual C# StackOverFlow Exception with large input. Please help me analyse.
I need to send a long string to print through printer driver. below is the code. If the string is short, it is OK. But if the string is long (e.g., 1433 characters), the program will crash with StackOverflow Exception). Not sure if it got something to do with the IntPtr. It crashed at SendBytesToPrinter(szPrinterName, docname, pBytes, encodedBytes.Length); By putting Console.Writeline() to check, I found it didn't even enter the method above but the following code is completed and I could print out the value of encodedBytes.Length. Marshal . Copy(encodedBytes, 0, pBytes, encodedBytes.Length); Please share me your insight and experience. I will reward you with the good answer. Please help. public static boo ...Show All
Visual C# Check for Updates!!
How can I make a (Check for Updates) options to allow my application to check for an update from a specefic path and update the existing installed version If you're using ClickOnce, this path is set at application's design time and can't be set from installed application, when running on the client. However, you can change it on the web server (or whetever the installation is) by updating application's manifest files. Andrej ...Show All
Visual C++ command line arguments problem
I'm having problems simply reading command line arguments into my program. Here is my simple program: #include "stdafx" #include <iostream> #include <fstream> #include <string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { cout << argv[0] << endl; cout << argv[1] << endl; cin.get(); return 0; } Despite giving the program a text file as a command line parameter all the program out puts is nonsense like: 003B6058 003E7234 Why is it not outputing the name of the program or the name of the file Can anyone tell me what is wrong you can do something like this: #ifdef UNICODE #define COUT std::cout #else #define COUT ...Show All
SQL Server how to write Crosstab Queries
I need to write Crosstab Queries just like this, Qty + previous qty = TOT QTY TOT 1 1 5 6 3 9 9 18 2 20 <Umachandar Jayachandran - MS@discussions.microsoft.com > wrote in message news:3a501c03-3b8c-4f19-9299-c202c5473599_WBRev2_@discussions..microsoft.com ... SQL Server currently supports the partition and order by clauses but not the constraints. There have been frequent requests for this functionality. So I would encourage you to file suggestion using http://connect.microsoft.com if you would like to see this support in the SQL language itself. Hi UC, I don't believe the ORD ...Show All
.NET Development Problem sending parameters in PHP using nuSOAP to a webservice written with ASP.NET
Hi, i wrote a simply webservice in ASP.NET with Visual Web Developer Express. Here is the code: [code] using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = "http://tempuri.org", Description = "Servizio per la moltiplicazione per 2 di un numero")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : System.Web.Services.WebService { public Service () { //Rimuovere il commento dalla riga seguente se si utilizzano componenti progettati //InitializeComponent(); } [WebMethod] public string HelloWorld() { return "Hello World"; } [WebMethod(Description="Metodo di moltiplicazione per 2")] ...Show All
Software Development for Windows Vista Problem with BDA IPSink Filter
Hello All! Hope this is the right place for putting my problem description ;-). I am currently developing a DirectShow filter for decapsulating IP over DVB data using ULE encapsulation ( RFC4326 ). This is similar to what the BDA MPE (Multi-Protocol Encapsulation) filter does which is provided by Microsoft. The DirectShow Graph used looks like this: Network Provider (e.g. DVB-T) --> Tuner Device --> Capture Device --> MPEG-2 Demultiplexer --> ULE Decaps Filter --> IP Sink Filter The IP Sink fFilter creates a virtual network interface to which the decapsulated IP data is delivered. This works perfectly fine for UDP data. But if i try to transfer more than 1 KByte/Sec over a TCP c ...Show All
SQL Server How can i split the rows in 2 textboxes - Urgent
Hi, I have a report and its been populating from a sproc. and i have 2 text boxes called both of them are poplulated by Fields!Investment Names, but right i can display the data left to right but i want to display the Data starting top to bottom and then towards the right. I tried grouping the data in this way for one text box = CountRows()/2 > 10 . and this shows all the records one below the other, so is there a way that i can display half the records in one text box and the other half in the other text box. I am going kinda nuts over this. Can someone please help me. Regards Karen Andrew, Can you please give me information about snaking columns cause i would like to use it for ...Show All
Visual C# creating arrays
i need to create an array of objects to act as a simple database. So the task is to: Create an array of Student objects called Students that can store: Name, Course and Email of up to 50 students. i am having a little bit of trouble though with the actual array. this is what I have done so far: public class student { student[] students = new student[50]; //an array with 50 elements { new string name[50]; new string email[50]; new string course[50]; } } the details that the user inputs will be via 2 text box and one combo box. I think my syntax is badly wrong. could anyone point me in the right direction, thanks. I am also using MS visual studio .net 2003 I don't kno ...Show All
