Answer Questions
Visualbrin serialport
I create a serialport and i add Datareceived event. When a call is coming i use readline function. I see only RING RING RING... I want to get the caller id. When i use HyperTerminal i write at,then at+vcid=1 and the number is displaed when a call is incomning. Also i receve OK when i write this strings in HyperTerminal. In my program i use the functions write and writeline whith the strings AT, AT+VCID=1 but i dont see any "OK" just the strings i wrote. I dont know if i use properly the "write" function to send strings to the com port or is something else that i do wrong. Can you help me with the caller id I don't see anything wrong with your code. The key to get this to work is t ...Show All
progame msxml 4.0 SP2 (kb 927978) installing continuously
I reinstalled my sistem three weeks ego.Updates coming one by one,every minute ,non-stop.After every update finished,in my C disk is making a new file like ff22b18b93b61efeac529dda2518...calling.There is more than 400 of those files.Can someone tell me if is something wrong with my laptop and if it is what to do thanks! Friend of mine had this problem and solved it by uninstalling MSXML4 and installing it back. +1 I am continually getting a second MSXML 4.0 SP2 Security Update as well: MSXML 4.0 SP2 Security Update (925672) I've been getting these on one computer for the past couple of days, but haven't found it to be a problem on a second computer. Both computers are desktops, both XP SP2, but the computer encounter ...Show All
Ghenadie - MSFT Generic Classes... bah humbug.
I thought I was being slick as snot, but just when I go to use my clever design, it collapsed like a house of cards. It was defeated like a paper tiger. It was all bark an no bite. Here's my dilemma. I have a list box that I am adding objects to, and when an item in the listbox is clicked, I wanted the listitem object to call a sub that it's holding a pointer to (via a delegate). Well here's where it all went to hell in a handbasket... I get the generic ListItem class coded so that each instance can hold a delgate and when the generic ListItem is instantiated, that is when you tell it what type it is (int32, String, Double, or whatever). Well when I went to USE an instance of my object somewhere else in my program, I had to specify t ...Show All
RJDBA Wants to download file greater than 2GB
HI, I want to develop a application in .net, in that I have to give a option to download to the user. The download may be greater that 2GB. Can u pls tell how should I get this Pls help me out.... waiting for your reply... Thanks, Nilesh I had seen commercial activex components for large file upload and download - they will essentially break the file into small chunks and re-assemble it at the other end. You could develop something similar on your own. Pranshu If you are downloading a significantly large file you can make mutiple range requests and then recompile the bytes from each request to get the original file. See the HttpWebRequest.AddRange method. Have you tried using FtpWebReque ...Show All
Joe Albahari set session value in javascript
Hi, I have one aspx page(main.aspx) that contaion one check box(chkStatus). I will call another page(popup.aspx) by clicking a button(btnPrint) with javascript:wondow.open() method. The things i would like to know is that if I check chkStatus I want to save value in session variable. I will use that session value in popup page. I try like this, but it doesn't work. chkStatus.Attributes.Add( "onclick" , if( chkStatus .checked== true){ <%Session(""status"") = ""MyStatus""%> ;}" ) Any idea I am in urgent. Thanks, MeeNge You have to use server-side programming (vb.net or C# or ...). Maybe is better you use a button ...Show All
nils49 Automatic Designer Replacement of 'localhost' in Connection String
Is there any way to override the SqlDataAdapter's (or the Server Explorer's) annoying tendency to replace any connection to a database connection to localhost\sqlexpress with 'machine name'\sqlexpress While we are overriding it at runtime based upon configuration, in design mode, creating a new data adapter creates new SqlConnection object which it really doesn't need, even though there is an existing connection configured for localhost\sqlexpress. Andrew Raymond ...Show All
AlexBB The XML declaration is unexpected. Line 1, position 3.
A webservice calls an assembly which reads data from xml file located on the same server. But when a webservice method call is made to the assembly to read from the xml file, it throws one or more of the following xml errors, but only when the webservice is first accessed. The XML declaration is unexpected. Line 1, position 3. '<', hexadecimal value 0x3C, is an invalid attribute character. Line 1, position 6. This is an unexpected token. The expected token is 'TAGEND' This is an unexpected token. The expected token is 'NAME'. The '=' character, hexadecimal value 0x3D, cannot begin with a name. The errors occur mostly initially (when the webservice is first accessed) and then don't appear as long as no iisresets are don ...Show All
waywar405368 trouble installing the .net framework 2.0
when I try to install the .net framework 2.0 I get a message saying"Error creating process <C:\DOCUME~1\"username"\LOCALS~1\Temp\IXP000.TMP\Install.exe> Reason: C:\WINDOWS\system32\advpack.dll" I've tried all the ways mentioned on the forum so far and I keep getting the same error. It appears I do have a 32bit OS. I ran dotnetfx.exe, and it 'repaired' .net to its 'orginal state' (I'm not sure what that means). Through that process many things were installed on the computer, but there was no setup window that appeared at all. Normally installing any program has a setup procedure, and then I have the options of making a shortcut to it from the desktop and all. I really don't know what is going on. ...Show All
Shady9399 IO.Package not compressing every file in the package?
I've been experimenting with the IO.Packaging capability (Package, PackagePart, etc.), and one oddity I've noticed is that not every "part" in the package is getting compressed. For example, if I rename the package file to .zip and open it up, the compression factor is 0% for many of the files in the package. When you create a package part, you specify the compression type to use (e.g. Fast, SuperFast, etc.). I'm setting this on every package part I add. In my example, my package parts consist of: a) some XML files (some are quite large), b) a binary file (.bin), c) some application-specific binary files (.abc). There doesn't seem to be any rhyme or reason to it. For example, it will compress some of the XML files, ...Show All
outcast1881 how to dial a phone number in a ASP .NET application?
Hello: Does anybody know how to dial a phone number in an ASP.NET application Thank you. Emerson The System.Net namespace does not expose dialer APIs. You will need to research win32 APIs (TAPI, etc) and pinvoke as needed ...Show All
regthesk8r Repeater and datalist
Hi i am Vojislav Milutinovic from Serbia (Europa) and i have problem with a nested datalist control inside repeater. So pleas help me. Problem I have database with 3 data tables. First with employes , second with pictures and thrd with idkeys from this two tables because i want to every employe have many pictures so thats a many to many releshionship. I made DAL and BLL , on presentacion layer i have two datasource object first DS1 is list of all employes and second is DS2 with list of pictures but with parameter IDEmploye so i can find pictures for every employe. I made repeater and inside datalist (for list of pictures that he have , just names not real images) . Data repeater shows ok , but datalist shows data fro ...Show All
csaavedra MembershipUser.ProviderUserKey and GUID
Hello, We have an application that retrieves both a person row from a database table and a Membership user. Our plan was to tie the two together authoritatively with a GUID identifier. The closest thing available from the MembershipUser was the ProviderUserKey. This is typed as an object. How can I use it to retrieve a row from the table Sql Server stored procedures won't allow me to use an object as a parameter and I cannot convert an object to a GUID (at all ). It does not make sense to define a unique identifier and then not make it available as a search argument, anywhere. Thanks, Michael ...Show All
dkonline get SID information
I have a program that will save an user SID information in a Database. So, I would like to know, how to list all users ( not groups ) of a selected machine ( can be a domain controller or not ) and get SID information Tks!! You specified the ConnectionOptions parameter but you didn't specify any credentials. You must specify a valid UN/PWD that has the necessary access rights on the remote machine. Try an admin account first to verify it works. The admin account must be valid on the other computer. Michael Taylor - 12/7/06 OK However, this only seems to work to list SIDs of my own computer. It does not list SIDs of other network computers. When I cal ...Show All
Mystagogue 64bit Office Interop ...
Hi all I have some trouble with Office (Excel) Interop integration ... I have a x64 Windows Server System. I have some applications and they are written in C# 2005 and some of them use excel Interop. The applications wont run the Interop.Excel Code on this system. Error message: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154. I guess I need a 64bit Interop.Excel.dll. Am I right If yes, where do I find it Thanks for any comments! Best regards Frank Uray 1) run 'clean' on the project in vs 2005 2) remove the reference to excel (interop and other files). Some times VS adds Office.Core as a reference. Remove th ...Show All
Muricy if data field in msdb is blank program error happens
I am very new to MS VB (first timer) and have design a small program for recording faults on equipment, the program works well I can update,add,delete,cancel,scroll records and update my data base etc but I have one fault I cannot solve. when I scroll the records they display ok but if there is a record that has a missing field the program stops and put up a fault as follows. when casting from a number, the value from a number must be less than infinity Can any one help I have put my code below so you can tell me were I am going wrong, Many thanks for anyones help. When I update or add new records there maybe field that will not be fill in. Public Class Equipmentreturn Dim inc As Integer Dim maxrow ...Show All
