jw700's Q&A profile
.NET Development XML and Datagrids
Hi I'm trying to read an xml file and show results in Datagrid (the normal one in Windows Forms). The xml schema shows me that there are several tables (not related) and one table PSC5 which has 18 child table. I'm using ReadXml function throught a dataset created at the runtime. The data grid shows me tables only from PCS5 table and its child tables, but not the other one. My code is simple as: Dim ds as new dataset() ds.ReadXml("c:\myxml.xml") DataGrid1.DataSource=ds I want to read data from other tables. Will I have to read through XmlReader. Please suggest. Regards Genie <PoweredLowestFare_SearchR ...Show All
.NET Development ComboBox entries at runtime
I have a Combobox, which I populate from a datasource.However I would like the user to be able to key in new text, which would then be saved as a new entry in the dropdown Any Ideas please.... One approach would be to overlay the textbox portion of the dropdown with an actual textbox. In code, then, you'd need to keep the two in sync by copying the selected item in the dropdown to the textbox when the selection changes and adding and entered text to the listitems in the dorpdown. You didn't mention whether you were doing ASP.Net or winforms. I'm assuming you're talking about web forms.  ...Show All
Visual Studio Tools for Office Modify LoadBehaviuor registry value with RegEdit?
Hi, this message has got a looong story behind... From this post, you can understand that I've moved the registries from CURRENT_USER to LOCAL_MACHINE, as was suggested for letting a VSTO plugin to be installed to All the Users on a Machine. From that moment on, NONE could see anymore the plugin in the ComAddIn list: none has confirmed that it's due to this change, but I'm quite sure. Now, the problem: how could someone enable a plugin who was soft disabled...if the plugin doesn't appear in the ComAddIn list To the users of my plugin who couldn't install it, I've asked to check the value of the LoadBehaviuor property...which was 2... So...ca ...Show All
Windows Forms Changing the font of a String*
Hi, Could you please tell me how to change the font of a String* Is it possible to set subscript font to the name of a button Is it possible to set subscript or superscript for a String* Using which Class or Method to set subscript or superscript for a String* Thanks a lot. In both cases, you need to owner draw your control. There are no super and subscript fonts, AFAIK, you need to take a smaller font and draw it in the right position. ...Show All
SQL Server SQL Server Destination [733] Error
I am getting the following error on a FuzzyLookup transformation. I have 1,000 rows in the source table and 331,580 rows in the reference table. Both tables are in the same SQL2005 db on my local machine. Any ideas [SQL Server Destination [733]] Error: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Th ...Show All
SQL Server How to connect to remote database using MS SQL Server 2005
i'm using sql server 2005 developer edition. In sql server 2000, when i connect to my remote database, i just need to provide my IP address, server name with password in Query Analyzer. However, i do not know how to connect to remote database in SQL Server 2005. I did allow local and remote connection using Surface Area Configuration. However, after setting this, i do not know where to input the IP add, server name and pwd as well...>_<. Who can help me Thanks for ur expertise. So you want to connect to another sql server instance through sql server 2005 query Are you not able to type it in on ...Show All
Visual Studio Express Editions Broken Visual Studio C++ Options Dialog ?
Hi, I have installed Visual Studio C++ 2005 Express Beta 2. It worked so far but I was not able to successfully install SQL Server 2005 CTP could not be installed successfully, although it seems to be there. In many post one can find instructions to change the settings in the Tools -> Options menue in Visual Studio. For example for executable files one is supposed to select VC++ directories from the left panel and select on the right side in 'Show directories for:' Executable files. Unfortunatly nothing is displayed: no path, no icons to modify something. Am I supposed to activate something besides the application Has the ...Show All
Visual Basic Resources Files...
Hi, i have created an application that use some external files. These files, when i build the application, go in Resources Folder. I can add these files in the .exe program Thanks, Bye!! Hi, This article might help - How to: Create Embedded Resources http://msdn2.microsoft.com/en-us/library/e2c9s1d7 . Also there are helpful topics on managing application resources at http://msdn2.microsoft.com/en-us/library/9za7fxc7(en-us,VS.80).aspx . Best regards, ...Show All
Visual C# Web Services Port
I hope this is the correct group to post this in. I have a client that was developed in C#. It connects to a server using Web Services. I am having difficulties connecting to the server in some situations because of firewalls or ISPs blocking ports. Is there a class or technique that can be applied to scan for open ports Also, once this is accomplished, how can one reconfigure the Web Services ( System.Web.Services.Protocols. SoapHttpClientProtocol ) to use the new port Any suggestions or help would be appreciated. the big advantage of XML Web service is that they use HTTP and usualy port 80. ...Show All
SQL Server SQL Server 2005 and 2000
When SQL Server 2005 finally ships, will one be able to install it on a machine with SQL Server 2000 already installed Where can I find instructions to install SQL Server 2005 Developer on same box as SQL Server 2000 Developer Do you want to select the SQL Server Database Services 8.00.761 for upgrade during the SQL Server 2005 installation I want to make sure I don't mess it up. Thanks. ...Show All
SQL Server Generated query
Hello, i would like to know where can i see queries which are generated by the cube broswer in visual studio 2005 and where can i see what are the actions it does Because it takes a very long moment between changes in the browser. thanks Start a trace on Analysis Services using the Profiler (assuming that you are using Analysis Services 2005). Then you will be able to see the MDX queries generated by the cube browser. ...Show All
SQL Server Replication Deadlocks
Hi All, I need to get some assistance with some replication deadlocks im getting. We have two servers, which push information between each other, which I have a hunch could be a cause. Basically I keep getting the 'Agent Retry' Alert from SQL: DESCRIPTION: Error: 14152, Severity: 10, State: 1 Replication-Replication Distribution Subsystem: agent SQ01-EMS-SQ02\UK-183 scheduled for retry. Transaction (Process ID 68) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. When doing some googleing, I found the Trace Flags and setup flags 1204 and 1205, but they dont give me ...Show All
Windows Forms WebBrowser Paint
Hi Visual CSharp 2005 Express Edition Beta Webbrowser control does not derive from System.Windows,Forms.Control, so, How can I add events like OnPaint and OnResize Why this simple code does not put the line on the WebBrowser control private void button1_Click( object sender, EventArgs e){ Graphics g2 = webBrowser1.CreateGraphics(); Pen p = new Pen(Brushes.Red); p.Width = 10; g2.DrawLine(p, 0, 0, 100, 100); } Thanks Deza Ok Thanks for your quick answer, but yet, How can I add the paint event to WebBrowser or an Active ...Show All
SQL Server SQL Express license for hosting
Can SQL Express used in a web hosting scenarion... Does that require any extra license or is free Yes. SQL Express can be used in web hosting scenarios with no extra licences required as long as SQL Express is not connecting to a higher SQL Server Edition. ...Show All
Visual Studio 2008 (Pre-release) svg + xaml
Why can I only have 1 scalable vector graphic reference file saved with-in a xaml file and thats the only view and detail the glpyh/icon can have... if you scale-down a 256x256px graphic to like 16x16px it looks bad unless the 256x256px is very simple which brings be to my next point that if you would make a simple 16x16px graphic and scale-up to 256x256px the graphic would look to simple and not rich enough which would make that size pointless to scale to... wouldnt it be a better solution if you could set a scalable vector graphic reference file for each square number example ..., 16x16px, ... 32x32px, ..., 256x256, ... ...Show All
