KDavie's Q&A profile
Windows Forms datagridview to be connected with an object
hi there, I am trying to build a grid that is connected to an object I dont know how exactly works but when I use the automated datasource with my object nothing appears on the table. My question is in order to see some data on the grid do I have to build my class in a specific structure Thank you all Adam No - but you do need to provide a runtime instance of your object (or list of objects) to the DataGridView. When you setup design time data binding to your object, the designer will create a BindingSource named "type"BindingSource. At runtime (e.g. in your Form.Load) event, you need to provide a runtime instance to the Bi ...Show All
SQL Server How connect SQL server 2000 with c#.net .....?
Hello masters, help me yaar i am using dotnet 2003 and SqL SERVER 2000. BUT UNABLE TO CONNECT DATABASE using dataAdaptor(design time ) or sqlconnection any can help me gs whats the error lets see the connection string. make an empty text file called "c:\test.udl" - double click it and try to build a SQL Ole Db Provider datalink. . . can you get that to work Are the TCP protocols enabled in your machines client network settings and in the servers network settings ...Show All
Game Technologies: DirectX, XNA, XACT, etc. fable--can't execute application
Dear all, after installed fable, when i execute it, i get an error message show somethings like dv2d.dll can load, reinstall the application may fix this problem. I have try to reinstall for several time but can't. Anyone can show e the solution You will be able to get more help from the support groups for Fable or from the DirectX support links from this site . This groups here has been set up for development of computer games using the Microsoft systems. ...Show All
Visual Basic XML comments
My group is attempting to standardize on XML commenting for all of our classes and methods. We like the "Insert comments" option in VS 2005 but would like to add an additional tag <history> to the comments section. I know that we could probably do this manually each time we add a new class, but I would like to be able to have this new section come up automatically when we insert the comment. Is there a way to modify the XML comment block that is produced when you use the "Insert comment" function so that the new <history> tag will be included in the text Hi, awperli, No ...Show All
Windows Forms DataBound ListBox automatic first selection
Hi there My problem exists with a Databound listbox that fills when a type is selected from a corresponding comboBox. E.G. The comboBox has a list of makes of cars and so a make is selected and the listBox populates with all the models in the make. I would like the user to select the model, but the listBox automatically selects the first item in the list on load. It is still possible to make additional selections, but the first is added which is an irrelevant request for the user. I have attempted to change this with the selectedindex -1, but it just resets itself. I am at a loss, because I am unable to find a remedy for the auto ...Show All
Windows Forms MS Web Browser Ctrl and Proxies
Any ideas anyone Thanks I'm sorry for it being a bit abstract, but how would i program a web browser with proxies ...Show All
SQL Server Transaction replication: Distribution agent owner
Hello! I seem to have a permission issue when i setup a pull transaction replication on SQL Server 2005 which i was hoping someone could explain. The distribution agent gets created but when it tries to run it fails with: The job failed. The owner (NATION\PK0159_a) of job EPPINF002\YUKON1-Publisher-Person-EPPINF004\YUKON1-Subscription-852824CC-803A-4C6B-B44B-748B6E25BFFC does not have server access However, when i change the owner of the distrbution agent job on the subscriber server to sa and manually execute the job, the distribution agent executes successfully. NATION\PK0159_a is what i am authenticated when i am ...Show All
Visual Studio How email a report as an attached .pdf
Just wondering if there is a white paper or article to tell me how to do the following: I have a report that I access in VS in local mode. This has nothing to do with the web or HTML. I simply have a report and I would like to make it easy for the user to email this report (as a .pdf) to someone else. How do I do this Raj, you're a STUD!! I got your link to emailing a report. I haven't looked at it yet but if it works, it's gold!! Thanks YOU! ...Show All
SQL Server MDX Query Tool
I have been searching and looking for days for a tool that will allow you to build mdx queries in a GUID (Alot like the browser) and then view the actualy mdx query. I tried to profile the AS 2005 database while using the browser but it profiles some strange stuff.. SELECT NON EMPTY [{51E097E0-68D7-48E7-9847-B7D931EA6E0B}Pivot70Axis0Set1] DIMENSION PROPERTIES MEMBER_NAME, PARENT_UNIQUE_NAME ON COLUMNS, NON EMPTY [{51E097E0-68D7-48E7-9847-B7D931EA6E0B}Pivot70Axis1Set0] DIMENSION PROPERTIES MEMBER_NAME, PARENT_UNIQUE_NAME ON ROWS, { [Measures].[Account Count], [Measures].[Estimated Average] } ON PAGES FROM [Mimi] CELL P ...Show All
Windows Forms How do you get RichTextBox's cursor location in pixels.
I am trying to place a listbox in a richtextbox as people type and offer suggestions (just like in intellisense in VS). How can I get cursor's location ...Show All
.NET Development Communication Application server
Hi all, I need to develope a communication layer between a windows application and industry field device. The windows application will read and write values from the device. I want to ask how to develope an application server of the layer that servise the windows application. The windows application will be the client and the server read and write the values. Please help. Best regards... Can you explain in little more detail 1. Where is the field device Is it on the internet or local network 2. What sort of communications exist between the windows box and the device 3. Are there three thi ...Show All
SQL Server Wrong version of SQL Server Mobile deployed to emulator?
I am developing a mobile application with Visual Studio 2005 RTM. I created a .SDF database from scratch within the Server Explorer window. Based on the properties of the database, this is a version 3.0 DB. I then deploy the application to the Pocket PC 2003 SE Emulator and I receive an error when trying to open the database from my app. It's a very generic error: System.SData.SqlServerCE.SqlCEException I trap the error in my code, but there is no message in the exception object. If I try to open it with Query Analyzer on the device, I get an error stating "The file is not a valid database file". It appears that SQL CE 2.0 ...Show All
.NET Development Receiving error: The root element is missing.
I have inherited a C# application (code below) and it's having issues (famous first words, eh). The apps purpose is to retrieve a result set from SQL server 1 (in dataset format), convert that to XML using a MemoryStream and XmlTextWriter then submit the XML data to a web service for processing by SQL server 2. I am receiving the error "System.Exception: Server was unable to process request. --> The root element is missing." when the application hits line 98 (collector.SubmitEvents("SMS", xmlResults.InnerXml);). The odd thing is that the same exact process is used on line 69 for "submitting scan ...Show All
Visual Studio Express Editions Data UI Property Page Error
I am having trouble displaying the data source tool box. When I use the menu option it gives the message "Operation failed. Only true type fonts are supported. This is not a true type font." When I go into the options menu and go into the 'Windows Form Designer' and click on 'Data UI Customization' the pane displays ""An error occured loading the property page". I previously had down loaded the RC version and then uninstalled and loaded the full express version. I had also loaded the web developer. I have unloaded all the visual studio and reloaded but to avail. Can anyone help I have made the changes in the Display Propert ...Show All
Visual Studio Team System API Question #1
Does anyone know what this method does/means public System.Boolean ImplementsExplicitly ( Microsoft.Cci.Method meth ) Member of Microsoft.Cci.TypeNode Thanks so much for your reply. You gave me exactly what I was looking for and answered the same question about the Implemented InterfaceMethods method that I was thinking about posting! There are other API specific questions I have and if it's OK with you I might post them. Don't worry, I won't flood the forum with these questions. Usually the API in question is a method or property that I feel may be able to solve my problem more easily or qui ...Show All
