Software Development Network Logo
  • SQL Server
  • Visual FoxPro
  • VS Team System
  • Windows Forms
  • IE Development
  • Visual C++
  • SharePoint Products
  • Visual Studio
  • .NET Development
  • Visual C#
  • Audio and Video
  • Windows Vista
  • Game Technologies
  • Microsoft ISV
  • Visual Basic

Software Development Network >> davidg12's Q&A profile

davidg12

Member List

Luke2k4
Abel Khumalo
trillian74
Fwank79
Binny
HappyZimmer
Fahad349
De_Vaddrr
Andreas Jaeger
Wicket
Owend
Fille
LeahMM
Speakafreaka
Rene Alexander
George2
Michael Gates
Aghasadeghi
Glenno
zz2
Only Title

davidg12's Q&A profile

  • Visual Studio 2008 (Pre-release) Meta data exchange with indigo webservice

    Hi, How can i exchange the metadata with the indigo service. Does WCF provide any particular facility for that Zille, WSDL does not provide any direct support for that, though I presume you could hack it in some way to do so (though it might cause interoperability problems). That said, I don't see the kind of data as belonging to the service contract metadata (which is really what the WSDL contains), but rather as a separate information service your endpoint exposess. In other words, if you have a service that performs your restaurant functions, you might have a second service (and service contract) that exposes your custom metadata about the restaurant. ...Show All

  • Visual C++ Why is my program outputting this?

    This is the code I used: Header file class Employee { public : Employee( string name ); // constructor that initializes an Employee object Employee( int salary ); void setFirstName( string ); // function that sets the first name void setLastName( string ); // function that sets the last name void setMonthlySalary( int ); // function that sets the monthly salary string getFirstName(); // function that gets the first name string getLastName(); // function that gets the last name int getMonthlySalary(); // function that gets the monthly salary void displayMessage(); // function that displays a message private : string firstName; // first name for this Employe ...Show All

  • Visual Studio Express Editions Repost: How to lock windows key/alt-tab and ctrl-esc

    The previous post was locked because someone accused me of being a virus-writer. I have made a WPF screensaver, but need to disable the windows key, ctrl-esc and alt-tab (I don't want it to exit unless I press Alt-F4). It is to be displayed on computers in my store and I don't want customers shutting it down every time they press a button. I will email the screensaver to anyone that doesn't believe me. Could someone give me some advice on the easiest way to do this I have found code on 'hooking keys' but I am an amatuer and need some simpler information. Is there a way I can just say "Disable that key!" or what do I need to do Thanks alot, from mrmckeb! I saw your previous post and h ...Show All

  • Visual Studio Express Editions Need Help Please

    I am currently making a program which fixes errors with Disk Clean-up which some computers encounter. Which means editing the registry, Would anyone know a code which i could use to delete a section of the registry. Anyhelp would be amazing! Mitch using (Microsoft.Win32); RegistryKey OurKey = Registry .LocalMachine; RegistryKey OurKey = Registry .LocalMachine; OurKey = OurKey.OpenSubKey( ".SOFTWARE.Microsoft.Windows.CurrentVersion.Explorer.VolumeCaches" , true ); OurKey.DeleteSubKey( @"VolumeCaches\Compress Old Files" ); Here is the code, Also recieving warning: Warning 4 Possible mistaken empty statement C:\Documents and Settings\Mitc ...Show All

  • Visual C# HttpException:"Cannot have multiple items selected in a DropDownList"

    I am using a DropDownList on my webpage. I have populated it from Database by using DataBind() method after providing him binding informaion. It works fine. But when ever i try to select an item by code. it generates the HttpException with message "Cannot have multiple items selected in a DropDownList". Few things: I am not doing post back, this exceptoin occurs on very first call. I am not selecing more then one values. I have also tried with by calling ClearSelection() before selecting an item. I have tried with multiple ways and i got the same error in every case. by usign .SelectedIndex by using .Text by using .SelectedItem by using .SelectedValue I had debug the c ...Show All

  • Visual Studio Can Sandcastle output a help website rather than a CHM file?

    I used to use NDoc to create help in HTML format. When I try to use SandCastle, it appears that the only option is to create .chm files. Is it possible to create a website similar to http://msdn2.microsoft.com/en-us/library/aa388745.aspx using SandCastle I was thinking about doing that in my DocProject software for Sandcastle but with a lot more features than just a list of topics.  I added a work item for it recently and I'm hoping to get some feedback from the community on this idea as well: www.codeplex.com/DocProject   For now, there are basic DocSite  templates in C# and Visual Basic.NET that you can use to create your own website.  Each comes with a&nbs ...Show All

  • Windows Forms deployment problem

    what files should I provide with the installer I want to know if I use any image as the background of a button or any other control, should I include it with the installer another question is how can I understand which files are necessary to run an C# application on the client machine Thanks I would think that the answer to the first part your question is Yes. Also, this is Clickonce deployment. I think you what you're looking for is a Installion project, not clickonce. Also, to run a .Net C# application, they would need the .net framework installed, whether it's 1.1 or 2.0. ...Show All

  • Visual C++ LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

    I am attempting to write a C++.NET 2005 DLL (or assembly if I am using the terminology correctly) that wraps a C++ 6 .lib file (I am guessing that it is from C++ v6 because it is a SDK supplied by a third party). C++ is not my native language, VB is, so I am trying to write this wrapper so that I can do the bulk of my coding in VB.NET. I have managed to get the C++.NET project down to 45 warnings (which seem to mostly be the linker complaining about duplicate function definitions) and really 1 linker error: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup The Configuration Type for my project is Dynamic Library (.dll) and in an attempt to fix this based on other articles ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Create texture from resource

    I got a problem in understanding about create texture from resource, from what i understand, after we create the texture, it will be copied to the memory right, then automatically it will be 'pasted' to the back buffer. Then we can use it just like the create texture from file. Ok, here's the thing, just tell me that my understanding is wrong. Because i cant seems to make it works. I'm trying to create a texture from resource, and i need to make it displayed just like the normal texture. It is because i need to test whether the driver is displaying the right texture or there is some texture corruption happen. Can somebody please help me in this. Could someone show me the right way to use D3DXCreateTextureFromResourse(), and teach me how to ...Show All

  • SQL Server How to kill running query?

    Hi! Our users often run malicious queries which could take up to quarter of CPU power for couple of hours. If there is more that one such query, the whole environment is severely impacted with no other recovery that restarting the service. Is there any (easy) way how to kill unwanted connections and related queries If not, could someone please give some explanation for that (is it design issue or what ). Otherwise I'd like to see that functionality in SP2-3. Someone with similar experience out there Absolutly. You can use any client, not only AMO to send a Cancel command. For instance, you can use ActivityViewer sample application to cancel user sessions, or user connections. Connect to Analysis ...Show All

  • SQL Server SP2 Copy Database Wizard better, but still problems

    I installed SP2 today and started transfer databases from our old production server with SQL 2000. The Wizard is much better now when using SMO Online transfer and I succeefully transferred several databases. But I now have three databases with a strange error: Here is one error when I try to copy the database OEWRegister. It seems like all objects are transferred and it fails in the end with: OnError,JABBA,VD-ISP-NET\SQLServer,QUI-GON_JABBA_Transfer Objects Task,{FD7EE38E-70E0-4D01-8E4E-9CC1D44BA7B4},{19F9A272-F90C-446D-BF0E-EA333D06ACD3},2/21/2007 9:06:15 PM,2/21/2007 9:06:15 PM,0,0x,ERROR : errorCode=-1073548784 description=Executing the query "IF EXISTS (SELECT name FROM sys.databases WHERE name = N'OEWRegister') DROP DATABASE ...Show All

  • Visual Studio Tools for Office Word and line command argoment

    Hi, Sorry for my english! I would to read some arguments that I send to a word document on command line. Some could help me hello & thanks Ivan Hi Ivan Please show us the code in the vb.net application you use to open the VSTO document. Can you describe what Word should do with the information you're passing ...Show All

  • SQL Server 400: Bad Request

    I am getting an "The request failed with HTTP status 400: Bad Request " Error in Report Manager Webpage. http://servername/Reports The Reportserver itself and reports works fine (http://servername/reportserver). Reports render OK and i am still able to connect to reportserver by management studio. The environment is a W2K3 Standard with SQL 2005 (Build 2153) - and the server is a domain controller. Reporting Service Configuration does not mention any issues - I have reapplied default settings - no change. There are no errors in the eventlog. I need some help - please HANNES This post gave me the finale hint (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=165851&SiteID=1) - but I do not habe a specific IP address b ...Show All

  • Visual C# Changing Type during runtime

    In response to my previous thread which can be read here , I've decided to create a new thread because although I mention this problem in my previous thread, this is a different subject. To recap, I have a class Shape, which will have many inherited types. In a class Physical, I have a Property which returns a Shape object. Many classes inherit from Physical, and each inherited class will need the capability of allowing the user to change the Shape Type during runtime. I came up with a decent solution, but was wondering if anybody knows, or can think of a better way(s) to solve this: [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( ty ...Show All

  • Windows Forms Button Click

    Just a small problem. I'm having problem clicking a button in my webbrowser inside my form . private void btnSubmit_Click(object sender, EventArgs e) { HtmlElement Button = this.webBrowser.Document.GetElementById("post"); Button.InvokeMember("post"); } Thats my code I don't understand why it doesn't work . Any insite is much appreciated. Thanks in advacne ! Please post the code you are using please explain the exact error you are getting please post the code (html page) you are trying to use to press the button ...Show All

©2008 Software Development Network