Search results

  1. A

    Broadcast message to all clients

    hi, I'm trying to develop a pgm that broadcasts the message to all clients except to the sender. At present , every client is talking to the server and get the reply back. i'm using TCP/IP Protocol. Develop. Env. :VS2003. How to implement broadcasting feature? If anybody knows the related...
  2. A

    Deployment Error:"COM Object with CLSID {...} is either not valid or not registered"

    Deployment Error:"COM Object with CLSID {...} is either not valid or not registered" Hi, I developed an VB.NET Application that make use of microsoft EXCEL PIAs. (VS2003) It works fine in the development environment which has MS EXCEL. But actually target machine don't have MS EXCEL. When...
  3. A

    sort datatable and write as xml

    Hi, How to sort the datatable and write it as XML File. I know that, datatable can be sorted using view and bind to datagrid and dataset1.writexml() is used to write data in XML format. But i need to write sorted data into XML file. Meaning that, need to sort the datatable in the dataset and...
  4. A

    Invalid table number

    Hi, I developed my apps in vs 2003 . my apps utilizes crystal report. In my PC it's working well. I've SQL 2000 database. Now i'm facing problem when i deploy the apps in client PC. It has SQL express 2005. When i open crystal report from client machine, it gives me invalid table number. how...
  5. A

    catch empty list using SQL query

    Hi, I'm trying check the records which satisfies the following condn. select @p1 = su1 from RER where (no=10 and atp ='N') It returns empty list . bcos no match found.that's ok. But i need to write the logic if record is not there. i tried to do as follows if ((@p1 =null) or (p1=' ')) ...some...
  6. A

    non rectangular buttons

    hi, How to create non rectangular buttons (elliptic or round) in .NET CF? In windows, I used Graphicspath. Any ideas? Thks!
  7. A

    GUI Design

    Hi, I want to design the GUI for VB.NET windows apps somewhat like windows media player design .I don't want to use regular rectangular patterns. How to design an attractive GUI in VB.NET (VS 2003)? Any Ideas? If anyone knows related links, kindly share with me. Thank You!
  8. A

    vertical scroll bar in listbox

    hi, how to add vertical scroll bar in listbox in CF environment? Env : VS 2003 - .NET 1.1 Thanks!
  9. A

    WriteXML issue

    hi, I'm facing a strange pbm while converting excel file to xml. If excel file has decimal datas, then some of the decimal datas will be appeared in converted xml file as shown below <?xml version="1.0" standalone="yes"?> <NewDataSet> <Attendance> <Mas>M</Mas> <CustG>X</CustG> <PT>0</PT>...
  10. A

    upload pdf file into sql table

    hi, How to load a pdf file data into sql table programmatically (using VB.NET) Any ideas? Thank You.
  11. A

    Need third party controls

    Hi, I'm looking for some third party controls (especially buttons) for CF. Any idea? If anyone knows the link ,kindly forward me. If u used it before, kindly suggest me a good one. I'm using VS2003. Thank You!
  12. A

    how to find serial buffer is empty?

    hi, I'm using the following read method to get the data from serial device. Public Function Read() As Byte Dim rd As Integer Dim ovl As New OVERLAPPED Dim dt As Byte() dt = Array.CreateInstance(GetType(Byte), 1) 'Initialize the buffer If Opened = True Then ReadFile(hPort, dt, 1, rd...
  13. A

    substring from a string

    Hi, Can anyone show me the simplest way to retrive the data between #1 from the given string. #1XYZXYZ#1#2UVWUVW#2#1AAABBBED#1#1SSSSWDWD#1 Result will be like XYZXYZAAABBBEDSSSSWDWD Note: String is variable. Generated at runtime. Need to look two "#1" and extract data between them...
  14. A

    convert byte array to ASCII

    hi, How to convert byte array to ASCII in VB.NET System.Text.Encoding.ASCII.Getstring(y) it gives the data like 52414D41 . but i need "RAMA" instead of 52414D41. How? Any help? Thank U!
  15. A

    Sample serial port program needed

    Hi all, I'm developing serial port program in VB.NET. [Just open,read,write and close.] I referred the following article - "How to access serial and parallel ports by using Visual Basic .NET." I used the given code . Getting unhandled exception .It occurs while executing Getcommstate API call...
  16. A

    serial port connection

    hi, I'm facing a strange problem while establishing serial connection. Hyperterminal is always connected. so pgm couldn't make the connection. When i discontinue and minimize the hyperterminal connection ,then pgm is working. but not continuously. (If i close my hyperterminal,it automatically...
  17. A

    compare windows service and driver

    Hi, can anyone give me the differences between windows service and driver? Actually i've a card reader device. Want to write an interface program for it. Which one is a best option for it? service (or) drivers. if best,can u state the reason? what are the steps need to be followed to develop a...
  18. A

    sprintf equvalent in VB.NET

    hi, I used the following statement in VC++ to send commands to serial device. sprintf(buf,"%c%c%c",0x55,0x52,0x0d); Equivalent in VB.NET? I tried with string.format(String.Format("{0:x},{1:x}", 0x55, 0x56). got an error indication like "Comma,")" or a valid expression continuation expected."...
  19. A

    how to call the methods os windows service

    Hi, I'm new to this forum as well as to windows services. Just i've created windows service called "Myserv1" and controlled(like start and stop) it via VB.NET windows client apps. Now i want to write my own function calls in the windows service. i need to pass the parameters ( from normal...
Top Bottom