Answer Questions
biju Fill database from XML
Hello guys, I have a database stored in an XML file (Dataset.WriteXml()). Now i want to recreate the database file from the XML file. I already know how to create a database file using ADOX I also fill a dataset with ReadXML from the XML file i have. What i dont know is: How am i going to fill the database created with ADOX from the XML file. I also know how to create tables in ADOX what i dont know is how to fill the tables with data from the X ...Show All
hector santos Exporting managed functions
I have a question... How do you export managed functions from a Dll I know how to export native, but... Can you also export managed classes the same way Or in another, similar way This is what I require, as I've been doing in native before. I'm using mixed managed code. Ah, but that makes no sense... And it isn't "simple." - You have to mess around with the COM which takes up more code... But I succe ...Show All
rksty Need some help - how to send asynchronously a binary to the client?
Hi, I'm relatively new in Web Services Technology. Can anybody suggest me how can I implement a Web Service Method that sends asynchronously a binary (e.g. a .zip file) to the client. I implemented a method (C#) that encodes the binary in UTF8, but I got an XML error message within the client. Apparently, some characters within the XML message were not accepted. I would appreciate any help from you! Thanks i ...Show All
sabor DBNULL value question
Using VB.NET, I perform a trim function on a SQL server table field trim(row1(''account'')) . When the field is empty I get an error: cast from 'DBNULL' to String is not valid. I want to be able to perform that Trim function without testing each single field if it s equal to DBNULL or not. That s because I have many fields in the same string generated big string and I wanna insert some spac ...Show All
dredrunde Controlling Master Page Content with User property?
Looking for the best solution for this problem: When a user logs in to my site I want the navigation to change. The navigation is currently held in the masterpage. The problem is I can`t use the following within the master page; I can only use it from within the Content pages.. Because the User property doesn`t exist within the Master Page. if (User.Identity.IsAuthenticated == false) { } If I have to use the User property within ...Show All
Stoober are there Enterprise Library Multi thread support? (Database object's)
are there Enterprise Library Multi thread support (Database object's) thanks I don't think that EL added any multithread support (that's a guess). What support do you want 10 Thread start method() { private EL.Database generalDB = new...... new 10 xxxDB(generalDB ) object threads start........( xxxDB.UpdateDB ) } public class { private EL.Database m_db public xxxDB(EL.Database db) { m_db = db; } public void U ...Show All
barca_sp Sending Dataset to WebServices
Hi all, I first developed a web services to receive data from a smart client devices. It runs perfectly on my localhost. But when I deploy it to the web hosting company. It does works fine on retrieving data. And it just doesnt work on saving data by passing the dataset to the function. Public Function SaveData(byval ds as dataset) End Function I'm using OLEDB with MS Access. I can't see what's my problem is since it does work on localhost. THe ...Show All
Gerhard Schneider Assembly Unload
Hi, We want to update our dll files in our application, while user work with that application. Our current update mechanism closes the application, copy updated dll files and runs the application again. But we don't want to close whole application while dll files are copying. Is there a way to unload an individual assembly (dll) without unloading all of the application domains that contain it Thank you. Il ...Show All
NuclearNed .Net client and Java server integration
Hi, My name is Liran, Im working on a project that the server is written in java technology (APACHE TOMCAT) and we considering now to turn the client to windows application instead of web. Our main option is to choose .net c# as our client technology and the connection to the server will be by web services on the server side (the webservices is written in java). I already made a prototype to check it and it worked really good. Im trying to get s ...Show All
MABeatty MemberAttributes.Abstract (System.CodeDom)
Why thid code doesn't generate an abstract class CodeTypeDeclaration abstractClass = new CodeTypeDeclaration (); abstractClass.Name = "Service" ; abstractClass.Attributes = MemberAttributes .Abstract | MemberAttributes .Public; abstractClass.IsClass = true ; The generated code: public class Service { } Sorry, found it. abstractClass.TypeAttributes = Syste ...Show All
helsby VS 7.0 (2002) conversion to VS 2005
I intend to upgrade to VS 2005. Two questions. Can I get the upgrade package and go from 2002 to 2005, or do I have to purchase the full package. Second, if I continue to develop code in 2002 will the "conversion wizard" upgrade it to 2005 pretty comprehensively, or will I have a lot of rework Gordon, Please let me what you get. Ahmed Ahmed, I did as you suggested as it was the only r ...Show All
bcsanches Zip and Gz Files
Hi all, hope somebody can help me. I'm writing VC++ code with java::util::zip lib; when I manage zip files everything is fine and this code works: XmlReader^ xread; ZipFile^ zf = gcnew ZipFile(tb_template->Text); Enumeration^ es = zf->entries(); ZipEntry^ ze; while (es->hasMoreElements()){ ze = (ZipEntry^)es->nextElement(); xread = XmlReader::Create(ze->getName(),settings); <. . .> } b ...Show All
Ickman State of SqlConnection
I've created an SqlConnection to SQL database. conn = new SqlConnection (connString); conn.Open(); After that I've created a timer, which checks state: if (conn.State == ConnectionState .Open) textBoxOut.AppendText( "Opened" + "\r\n" ); else textBoxOut.AppendText( "Closed" + "\r\n" ); This performs every 5 seconds. Then I've started this connection. TextBox shows "Opened". After that from SQL Q ...Show All
Roquefort output ipconfig result to file
Note: Pleae let me know if I am not posting this msg under the correct forum title. Is there anybody who knows how to output ipconfig result to file I have tried many times, and it never works for me. I used, "ipconfig/all > ipcfg.txt". And when i open the file, not much information is saved to this file, and it is not what i expected. And I have tried others, like "ping yahoo.com >file.txt", "tracert yahoo.com >file.txt", even "ipconf ...Show All
AshishM synonyms not exposed in the dataset designer
hi. I have created a synonym for a stored proc to make it available in a different schema. When I try to add this query to a table adapter in a dataset designer it does not appear in the drop down list of available sps since it does not exist in the stored procedures collection. Question is, how do I get a sp synonym to expose itself to the dataset designer Thanks! ...Show All
