Answer Questions
echobaseuk How do I connect to an Access database query from an office spreadsheet webpart in Sharepoint?
Hello, I have information of all employees stored in an Access database stored on a server. There is a query that contains the Project roster. I want to connect to this query from Sharepoint through an office spreadsheet web part. I start by going to "connect to data" from Sharepoint. It prompts me for an .odc file and I create a new source file. I go through the data connection wziard and choose "ODBC DSN" and try both "Microsoft Acc ...Show All
Travis White Moving in Binary File
Hello I am reading data from binary file ,some of this data is string and some is images and the length of some of this data is saved in many places in the file I need a way to move back in the file i use the Seek method with the StreamReader to do that when i read text files but there is no Seek method for the BinaryReader Any body can help me . Yes when i use (char) BinaryReader.ReadB ...Show All
SimplyPhil how to update element while create a file
hello aLL I'm using VB.Net I'm using writer = New XmlTextWriter (....... to careate an xml file I need to change an element after i have built it !!! how Sorry. I don't understand your last sentence: "but I prefer to be while I'm creating XML file not after..". Do you what to do everything in one pass (in "streaming manner") without fixing information you generated already This is the best ...Show All
miauru Specify Initial Schema in Connection String for SQL 2005
Is there any way to specify the Schema to be used for specific ADO.NET 2.0 connection It defaults to dbo, which is how the previous release would of had to support it. But if procedures/tables are seperated into different schemas within SQL 2005, then all lookups for the different tools (Like SQLDataSource configuration) only reference the dbo schema to fill information and would not see a procedure in the specific schema I want to ...Show All
BI Analyst Debugging .NET Runtime 2.0 Error Reporting Event: 1000
Hi, I have an application running on .Net Framework 2.0. After running for a day or so, the application stop and an error is generated by Windows Error Reporting. The message is as follows: Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 18/01/2006 Time: 09:46:29 AM User: N/A Computer: myComputer Description: Faulting application myApplication.exe, version 1.0.2208.39414, stamp 43c ...Show All
Mark J. object reference
If in form1 I use User user = new User(); to create my user object. When I go to form2 how do I reference the same user object Thanks Mike Thanks for the reply. I copied you code exactly and I am getting a " Reference to a non-shared member requires an object reference." on this line Dim ThisUser As User = MySingletonClass.MyForm1.MyUser I imported everything Imports singleton_class_tes ...Show All
Clement uploading images onto an SQL database through ASP page
Laptop Spec: XP Pro Programming languages: ASP.NET, C#, SQL Server sorry again for consecutive posts, I'm new to all of this. I am trying to create an aspx page with a user interface that will allow me to insert an mp3 file onto my database. The code I have currently is: ------------------------------------------------------------------------------------------------------------------------------------------------- ...Show All
likong SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpCl ...Show All
xmh Deploying a Web Service an a local PC
This should be an easy one! What are the steps that I should take in order to get a WebService working on a local machine (not a server) and be able to access it from another machine in the same network Thanks. sorry _ you must inst. IIS then it is all done ...Show All
dcb99 NullReferenceException:ObjectReference not set to an instance of an object
Hi, I am using Vb.Net and XMl.My application works like this:I have to connect to a remote server(not on my network)thru a username and password given and check for login credentials. Once, the credentials are verified, I should be able to proceed. When I compile the program, I get a warning that the fn SendXMLRequest doesn't return a value on all code paths. NullReference exception could occur at runtime. I appreciate yr quick resp ...Show All
hooman.tadbiri How to use System.Net.Mail.SmtpClient via SSL and Authentication?
Below is my code, and is just blocked there. There is no any error message. '=============================================> Dim msg As String = "---" Try Dim strAddress As String = " xxx@xxxx.com " Dim s ...Show All
JoeJeff Killing a ThreadPool thread
How can I safely kill a thread from a ThreadPool That is, how can I kill/abort the thread resulting from queueing like this: ThreadPool.QueueUserWorkItem( new WaitCallback(someMethod), someObject); The problem is as follows: 1. Once in a while (much more often than we can afford for the critical production application!..) the Image.SelectActiveFrame(...) method hangs, consumes 98 to 99 % of CPU, and we have to reboot the server... ...Show All
Pham Thanh Tuan Access Violation when doing BeginReceive on a UdpClient
I'm attaching some code below which demonstrate my troubles. In short, I get an Access Violation thrown when doing BeginReceive after trying to Send() data to a port thats not listening (using UDP). My observations this far: Add a Sleep() between the Send() and BeginReceive(), and you get a SocketException thrown at BeginReceive() instead of the Access Violation Send to localhost, or a host on the same lan (or close, in terms of hops ...Show All
micro_bug Sql Server Access Database
I am running windows home edition with my IDE and i need to get to my Veiw Designer..It says that i can go to View and right click and go to a sub menu called New view but i dont see that...I am connected throught MS Jet Databases...What should i do I am using n MS Access Database (Jet) not Sql server....I am speaking of a View Designer as in Query Design..I want to input son T-SQL code but when i right click my view node it doesnt say new ...Show All
Roberto Juca XSD.exe and Visual Studio 2005 Team Suite
New here, so bare with me... In using the new IDE environment VS2005 Team Suite I was assuming there was a way now, since VS2003, to make the creation of C# objects out of XSD's within the IDE , not outside from the command-line with XSD.exe....is this still not supported within VS2005 I can create XSD's in VS, I can edit, export, import, etc, etc...but I can't create native VS language objects out of my XSD's in the tool Doesn't make much ...Show All
