Answer Questions
John Rager Is there anyone skilled in windows services?
Hi everybody, I've a big problem with a Windows Service I've created using C#. It's a very simple service: it just starts a TcpListener listening for incoming connections on a certain ports. First I compiled it on FW2.0, and run the service without any problem. Some days ago I had to performe a sort of "backporting" to FW1.1, I compiled the source code, installed the service but as I try to start it I get a timeout and a system erro ...Show All
James Hendersen Failed to load viewstate
Hello: Ive got a UserControl (data Entry form). Within it ive got HTML Tables all of which have questions . I want to bring the questions that were missed up on top of the html table. Alls working fine if its an .aspx. The code to do the row manipulation is fione,But i get the above error message (in the subject) when its in a control .ascx which is being loaded in a page. Pls advise how to tackle this situation. Thank you Is your user ...Show All
Alun Jones VB 2005 Express - example database project
I'm looking for a simple example project where i can find all the statements are related to - connecting and closing the database - get (sql select) and set (sql insert, update) data - how to put and edit data in a DataViewGrid Can somebody help me tnx from the Netherlands Introduction to Data Access see http://msdn.microsoft.com/vbasic/learning/data/ Absolute Beginner's Video Series: Obta ...Show All
BnglCat Creating Typed Dataset in Web Service using Visual Web Developer 2005 Express Edition
I am trying to create a typed dataset which I can use as a data source in VB 2005 Express. I hope to use VWD 2005 Express, but if there is a better program to use that is free, I'm all ears... I have searched the forums for quite a while and found a forum that tells me how to accomplish this, but not using VWD 2005 Express... the code is... Public Function Units() As Units 'return units type Dim myds As New Units Dim myta As New Units ...Show All
kurjan Multe DataBase How to select in runtime ???
I have a Program it use SQL server for database engine. My user have 2(or more) data base (same structure but with difrent data For exampe " Market 1 " and " market 2 " database.). How I can make a Form for selecting wich data base user want to work with it the form will show in start of my program & must list active database name is in server and let user to select. after that program must use selected d ...Show All
cos75 Win32 Device Paths and FileStream
I need to be able to do this: Imports System Imports System.IO Public Class Form1 Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click Dim xFile As FileStream xFile = New FileStream("\\.\Device\CdRom0", FileMode.Open, FileAccess.Read, FileShare.Read) &nbs ...Show All
Ravindran GG How do I insert new related rows with a Dataset?
I can use a trigger to automatically insert new rows into related tables when the Master table creates a new row. That works fine at the table level. Something along the line of MasterId (Identity)= ChildId. What is the best way to do this with a Dataset Example: Working with a bound DataGridView; adding, editing, and deleting multiple rows within a Dataset and then automatically inserting the correct number of rows for the ...Show All
BlakeC Copmpact PC with Windows CE
How get running processes via .Net, or some else availible method... Thanks a lot, it's that i've been searching! Under Windows you can use the GetProcesses() method of the Process class (System.Diagnostics.Process)... unfortunately that method does not exist under the Compact Framework and instead you have to do a little more work. Fortunately though Microsoft has an MSDN arti ...Show All
ToshibaT1 Couple of soap errors on invoking a webmethod in ASPNet web services
Hi there!! I am consuming an ASP.Net webservice from a simple .Net application by adding a web reference. However when I invoke the web method, we see a couple of soap error entries in the application event log with the result that the http request is not successfully completed. We even tried to invoke the web method directly from the asmx page in IE providing in the required parameters. We still get the same errors. Please note this problem ...Show All
Inuya5ha TextReader or Stream from XmlReader?
My main question: "How can I get a TextReader or Stream object from an existing XmlReader ". Read on for more: I have an existing XmlReader. Let's call it reader1. // customContext and customSettings may or may not make use reader1's properties XmlParserContext customContext = new XmlParserContex ...Show All
CGR CharUnicodeInfo - GetBidiCategory or alternative?
Hi I need to be able to break up a (unicode) string into substrings based on character directionality. This is in order to substitute certain sequences of characters with images in a mixture of left to right and right to left text. I read about a function called GetBidiCategory in a Blog by Michael Kaplan ( http://blogs.msdn.com/michkap/archive/2005/01/28/362305.aspx ) that seemed promising. It doesn't seem to be included in the msdn docum ...Show All
cydrakonis Error using SqlDataSource on ASP.NET 2.0 Page when using Oracle VarChar2 input variable
Attempting to use a SqlDataSource to access data from an Oracle8i table. Everything works great with an integer based parameter, but errors on a varchar2 based input parameter. That is, no problem with Inteteger Input: < asp : SqlDataSource ID ="SqlDataSource1" runat ="server" ConnectionString =" <%$ ConnectionStrings:ConnectionString %> " ProviderName =" <%$ ConnectionStrings:ConnectionStrin ...Show All
bigjefe loaddata generates protocol violation
Hi all, I have a really simple screen scrapping example that doesn't always work. Let's look at the code: Imports System.Net Public Class Form1 Public Function GetWebPage( ByVal szURL As String ) As String Dim wc As New WebClient() Dim b As Byte() Try b = wc.Downlo ...Show All
tom_gee Active Directory help
Hello .NET developers, I am currently writing a asp.net app in which I am going to need to try to get the current users email address from AD. Im quite new to the AD scene, but not .NET, (ive been doing .NET for a while). So I currently have this code DirectoryEntry entry = new DirectoryEntry("LDAP: //Dev"); DirectorySearcher dSearch = new DirectorySearcher(entry); string name = "Ma*"; dSearch.Filter = "(&(objectClass=user)(l=" + nam ...Show All
Rajeeb Sharma Lookup
I have two tables Dossier and Rolhand I'am trying to get the newest date from table rolhand into dossier. <-- Text in Red I'am using virutal field, but i can't get it to work. Table: Dossier * DOS_ID Rol_id Rol_date ------ -+--------------+------------ 1 05dak-91 &nb ...Show All
