Luke1981's Q&A profile
SQL Server Active Directory Sql Servers
Hi everyone, how to retrieve programatically the list of the AD's Sql Servers You've been looking at SMO classes but it seems that it depends of your own workstation. Thanks in advance Hi, what about using the SmoApplication .EnumAvailableSqlServers() HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C# Help
< xml version="1.0" encoding="utf-8" > <Quotation> <Supplier>KL Pte Ltd</Supplier> <Fax>73698520</Fax> <Tel>96125830</Tel> <Address>Blk 123 Industrial Park</Address> <PersonInCharge>Koon Ling</PersonInCharge> <Product ID="pids888"> <Name>set of colour pencils</Name> <ProdDesc>limited collection from Precious Moments</ProdDesc> <QtyAvailable>20</QtyAvailable> <ProdPrice>400</ProdPrice> <QtyWanted>The quotation total is $8000</QtyWanted> </Product> <TotalQuotationPrice>8000</TotalQuotationPrice> </Quotation> I want to display the ...Show All
Community Chat MS Visual C++ Certification
Hi All, Is there any certification for MS Visual C++ ...I went through the web site and found that all VC++ exams are expiring. And i didn't found VC++ in MS new generation Certification. Regards Ravi Shankar Then how its possible if one wants to be certified in VC++ I want to be certified in VC++ only. Is there any way to get it either through Microsoft or others ...Show All
Smart Device Development How do i Show Hidden application?
I have an applicaton that uses me.hide() command. after i hide it, how do i re-show it again when i click on the exe file, it doesnt showup. If you want application to show up when it’s restated you should never hide all it’s forms. If you did it’s up to you to provide a way to show form again, e.g. via notification icon from which you can do Me.Show(). ...Show All
.NET Development Cannot add a SimpleContent column to a table containing element columns or nested relations
Hi, i'm trying to populate my dataset with one XML and i get the error: "Cannot add a SimpleContent column to a table containing element columns or nested relations" There is the code: Dim ds As New DataSet Dim doc As XmlDocument = New XmlDocument() doc.Load(URL) doc.Save("players.xml") ds.ReadXml("players.xml") Can someone help me out please Found one place where this problem is discussed: http://www.vb-helper.com/vbdb_updates.html Can you change schema of original document Or before you saving it to disk process it the way that it wouldn't conflict with DataSet Or instead of saving the original document perform XslTransform on it and save results of transfor ...Show All
Visual Studio Express Editions reading numeric data from excel sheet
Hi All , I am trying to read data from the excel sheet but i am facing problem when there is any numeric data is cell it gets Null value. Can some one please help me how can i read the numeric value from the excel sheets. If the same cell is having some other kind of data it is reading that data. Thanls Avinash Kundal HI , Thanks a lot i am able to solve this with your help.I am really very greatfull. If i can help you somewhere i will be really happy. My id is avinashkundal@gmail.com you can contact me here. If i get any issue i will mail back. Thanks ...Show All
SQL Server Manipulating a text box in custom code.
Hi there, A simple question I hope. I have got a textbox on a report and I'm trying to populate it by calling a custom assembly. I know I can reference it directly in the textbox (this works) but I am trying to do this from the code block. The following code didn't work: Protected Overrides Sub OnInit() ReportItems!textbox2.Value = POCCustomAssembly.CustAssembly.Hello() End Sub The TextBox is called textbox2 and the custom assembly simply returns a string. I get an error message "The is an error on line 1 of custom code: [BC30469] Reference to a non-shared member requires an object reference". What am I doing wrong Hi, I know you submitted this months ago...but I was ...Show All
Visual C++ The system cannot execute the specified program.
I wrote a handy dandy tool in Microsoft VC 8.0 on a 32-bit developement machine, but when I tried to put the executable onto the 64-bit server it gives me the error message "The system cannot execute the specified program." I know that 32-bit programs can run on a 64-bit machine, because on another machine I was able to make the program work (but that machine had SQL and a couple of other programs installed). Any ideas on what is going wrong here Check this article on how to install the CRT DLLs. I'm not sure if that would work on 64-bit Windows. ...Show All
Audio and Video Development Timer.enabled bug in MS ihdsim
Hi guys, I think I found a bug in MS ihdsim. Lets discuss following JS example: var count = 0; function keydown_callback() { timer.enabled = false; timer.enabled = true; } function timer_callback() { count++; document.getElementById("TextLine1").state.value = count; } function main() { timer = createTimer("00:00:05:00", 1, timer_callback); timer.autoReset = true; timer.enabled = true; } setMarkupLoadedHandler(main); addEventListener("controller_key_down", keydown_callback, false); 1. I run this content in MS ihdsim; counter incremented with 5s period, its OK 2. Then I start pressing some buttons, for example '1' key, with ...Show All
.NET Development Error: ExecuteReader requires and open and available Connection. The connection's current status is open, Fetching.
Hello, I am having a problem with selecting rows from an Access database (for code, I am using c# 2003). I have a list that I will go through one by one. As I increment through the list, I want to make a select statement to retrieve rows that meet my set criteria. Currrently, I am just outputting the selected column to the screen. However, I get the following error message: ExecuteReader requires and open and available Connection. The connection's current status is open, Fetching. What am I doing wrong int i = 0; try { string strOleDb; strOleDb = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + myPath; OleDbConnection cn = new OleDbConnection(strOleDb); OleDbCommand myCom = new OleDb ...Show All
.NET Development Inheriting from DataRow
Is it possible How do i create my own class which will be inheriting all the features of DataRow so I can expand it to have a Tag property Yep, check my example code below. You must create a DataTable companion with an overloaded NewRowFromBuilder method. As the DataRow must be created via NewRow: /// <summary> /// Pop3 message header /// </summary> public class Pop3MessageHeader : DataRow { Pop3MessageHeaderTable parent; /// <summary> /// CTor /// </summary> /// <param name="rowBuilder">Row builder object to use when building this row</param> interna ...Show All
Visual Basic Invoking VB.Net COM class from Word?
I have created a COM class with VB.Net (see code below) following the guideline on MSDN. VS automaticaly registers the class but when I try to invoke the COM from MS Word I get a runtime error "File or assembly name ClassTest, or one of its dependencies, was not found." I have added the class under References. Any ideas to what I am doing wrong Rgds Bertrand MS Word Sub aTest() Dim o As ClassTest.MyCom Set o = New ClassTest.MyCom o.test ("Hi") End Sub VB.Net project ClassTest <ComClass(MyCom.ClassId, MyCom.InterfaceId, MyCom.EventsId)> _ Public Class MyCom # Region "COM GUIDs" Public Const ClassId As String = "2abd96d2-a1a5-43a2-9bae-518f20 ...Show All
Windows Forms passing information betwen forms.
I have a program with 4 forms and each form has textboxes were the user writes settings like AppWizard. The program start with form1 and goes with steps form2 , form3 , form4. I want to implement a "previews" button in each form except form1. From form1 i go to form2 with this. form2 ^f=gcnew form2(); f->ShowDialog(); I dont want the forms to be shown modal over the parent form. I want the parent form to be dissapeared after calling the new form. How i cann keep the information of textboxes when i click "previews" buttons Store a reference to form2 in your dialog. Only allocate a new ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xact xna 3d audio?
Hi Can someone tell me how to create 3d positional sounds using xact with xna I cant find anything in the reference and documentation for xna. Thanks Just found out I can't even have any 3d sounds when using xna. hah how retarded is that! Its analogous to if the next Direct3D version only allowed use of 2d sprites I really dislike xact, i cant believe how basic and limited it is, its the only thing i can use if i want xbox compatibility. Direct sound is fine, but if it is becoming deprecated in favour of xact then its a bit worrying. Microsoft can you fix xact soon pls Thanks ...Show All
Visual Studio Slow loading Guidance Navigator
Has anyone run into an issue with a project taking for ever to load when using Guidance Packages (like Web Service Factory). I have a project that sites on the Guidance Navigator for ever (30+ minutes). I recreated the project and loaded in seconds ... then i went in and enabled the Web Services Factory (ASMX) & the DATA ACCESS the Guidance Navigator opens starts loading and never comes back. This issue is a killer ... any ideas on what to look for Tanks, I close all items and now the project load fast! My problem was Visual Studio Source Control and Guidance Navigator ...Show All
