Search results for query: *

  • Users: mmy
  • Content: Threads
  • Order by date
  1. M

    Question add x-number of checkboxes dynamically. Gridview with multiple colums?

    Hi, hope to get a tip or good practice method to become this result... I'm using an SQL command to read 1 column (example: name), returning a x-number of records. I want to display these results as a checkbox item on a webpage. Since it's only 1 column, showing all these records row by row...
  2. M

    Question calculating xor of different characters

    Hi, for a project, I have to calculate a checksum that would be the XOR of every individual ascci character. For example -> (string) "12". -> Character 1 = Ascii 0x31 = binary 110001 -> Character 2 = Ascii 0x32 = binary 110010 0x31 XOR 0x32 = 0x003 (according to my windows calculator)...
  3. M

    Question ShortDatePattern always returns d/MM/yyyy instead off ...

    Hi, I have tried the code below in a windows form and a windows service. System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern It returns the short date format configured in the operating system, for example: M/d/yyyy However, when I use exactly the same code in another...
  4. M

    Question best practice: creating 100 labels or ...?

    Hi, I'm developping a project to receive and display properties with values from a PBX (how many calls in progress, ...) Each property has its own propertyID (fixed), title (random) and value (random). Example: - propertyID = "9", title = "number of calls", value = 5 - propertyID = "15"...
  5. M

    best practice for service - UI for the settings or not?

    Hi, I'm currently (re)designing software to register info sent out from a PBX (call loggin software). One part of the program will be installed on a server, with the only purpose to gather the info and write it to a database. The main user interface (web application) will read this data and...
  6. M

    Question calculate execution time

    Hi, is there a way to calculate the execution time between 2 lines of code in vb.net? I know debugging software exists to do this, but I couldn't find any freeware till now. There must be a tool in visual studio / or in the debug mode to do this? Or do I have to use the datetime function...
  7. M

    Question sendkeys - alt tab & copy -> works in one application, but not in the other?

    Hi, I have created 2 projects, both sending alt tab + copy when I press a button. The objective is to copy the selected text in another random application. txtInfo.Focus() 'I have to do this, otherwise this code never works Clipboard.Clear() Application.DoEvents()...
  8. M

    Question can't connect to a local database

    Hi, I have a database (test) with one table (names) in it. I'm using MySQL 5.0.5, installed with WAMP. In Visual Studio 2005 I'm trying to connect to this database. I use the following code Imports System.Data.SqlClient Dim strConnection As String = "Data Source=localhost;User ID =...
  9. M

    Question SendKeys / SendInput

    Hi, I'm trying to copy a selected text from another program running and paste it into a variable. What I'm doing is the following 1) hide the VB.NET form 2) System.Windows.Forms.SendKeys.SendWait("^C") (send ctrl+C = the shortcut for the copy function in the other application) 3) show the...
  10. M

    20sec before connection and freezing interface when using asynchr. connection method

    A server sends data on a particular port. I want to connect to this server and listen for every data on that port. For now, I don't need to send data, just receive. In the past I worked with VB6 and the winsock control. Now I want to use vb.net and the new method, sockets. I'v learned that...
  11. M

    crystal report refers to wrong .mdb

    In VB.NET 2005 I'v added a crystal report (project - add windows form - crystal report - "rapport.rpt") With the report wizard I created a new connection (create new connection - OleDb (ADO) - Microsoft Jet 4.0 ... - data base name: test.mdb) I selected the table, and placed the fields on the...
  12. M

    user defined function in sql from vb.net

    I have an access database (mco.mdb) with a table tblA. Using a windows form (from visual studio 2005) and a datagridview I want to display the contents of tblA. I use the following code in the load event of the form as test. Dim strConnection As String =...
  13. M

    passing 2 parameters from a textbox to a crystal report

    Hi, I created a DataSet MCO with 2 DataTables "Customers" and "Materials". With this I create a report (crystal report) showing the customers with it's materials (linked by an ID). The materials are shown in a subreport. In this subreport I need some extra calculated fields. I can do this...
Back
Top