Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

ecentinela

@ecentinela
About
Posts
27
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • number of affected rows
    E ecentinela

    Yes, you are right. I was working with a not too good method. With a dataset it's better implemented. Thanks a lot.

    Visual Basic database sql-server sysadmin question

  • number of affected rows
    E ecentinela

    I want to redim an array to the number of rows selected, and fill this array from one of the columns of the query.

    Visual Basic database sql-server sysadmin question

  • number of affected rows
    E ecentinela

    When I make a query in sql server 2005 like "SELECT something FROM somewhere", there is a way to know the number of selected rows without the need of other query "SELECT COUNT(*) FROM somewhere" ? Thanks

    Visual Basic database sql-server sysadmin question

  • open a form closing the opener
    E ecentinela

    OK!! this works well!! There is any inconvenience doing this?

    Visual Basic help tutorial question

  • open a form closing the opener
    E ecentinela

    Thanks to both, but it doesn't work. In 2005 express edition I can't (or don't know) select "sub main" as the startup object.

    Roy Heil wrote:

    Why are you trying to do this?

    How you work with multiple forms then without using an mdi environement?

    Visual Basic help tutorial question

  • open a form closing the opener
    E ecentinela

    I have 2 forms. When I click on a button of form 1 I want to open form 2 and close form1. The problem comes when form 2 closes when form 1 closes. One solution will be to define a class and define the forms in it and not in the form 1, but I don't know how to do it. Someone can help me to do this or give me another solution? Thank you

    Visual Basic help tutorial question

  • sockets!!
    E ecentinela

    I'm trying to make a program that sends data to another computer throught a net. I have follow an example but I can not establish connection. In the sender, I have this code: 'CREAR EL SOCKET Y CONECTAR Dim iphe As IPHostEntry = Nothing iphe = Dns.Resolve(server) Dim ipad As IPAddress = iphe.AddressList(0) ipad = iphe.AddressList(0) Dim ipe As New IPEndPoint(ipad, port) Dim tmpS As New Socket(ipe.AddressFamily, SocketType.Stream, ProtocolType.Tcp) tmpS.Connect(ipe) '****************************************** 'ENVIAR Dim ASCII As Encoding = Encoding.ASCII Dim envio As String = Me.txtAccion.Text Dim ByteGet As [Byte]() = ASCII.GetBytes(envio) Dim RecvBytes(255) As [Byte] Dim strRetPage As [String] = Nothing tmpS.Send(ByteGet, ByteGet.Length, 0) And in the client pc I have this code: 'CREAR EL SOCKET Y CONECTAR Dim iphe As IPHostEntry = Nothing iphe = Dns.Resolve(server) Dim ipad As IPAddress = iphe.AddressList(0) ipad = iphe.AddressList(0) Dim ipe As New IPEndPoint(ipad, port) Dim tmpS As New Socket(ipe.AddressFamily, SocketType.Stream, ProtocolType.Tcp) tmpS.Connect(ipe) '****************************************** 'RECIBIR Dim ASCII As Encoding = Encoding.ASCII Dim [Get] As String = "GET / HTTP/1.1" + ControlChars.Cr + ControlChars.Lf + "Host: " + server + ControlChars.Cr + ControlChars.Lf + "Connection: Close" + ControlChars.Cr + ControlChars.Lf + ControlChars.Cr + ControlChars.Lf Dim ByteGet As [Byte]() = ASCII.GetBytes([Get]) Dim RecvBytes(255) As [Byte] Dim strRetPage As [String] = Nothing ' Receive the server home page content. Dim bytes As Int32 = tmpS.Receive(RecvBytes, RecvBytes.Length, 0) ' Read the first 256 bytes. strRetPage = strRetPage + ASCII.GetString(RecvBytes, 0, bytes) While bytes > 0 bytes = tmpS.Receive(RecvBytes, RecvBytes.Length, 0) strRetPage = strRetPage + ASCII.GetString(RecvBytes, 0, bytes) End While MessageBox.Show(strRetPage) Maybe all the code is wrong (sure!). Someone can help me with this? Maybe there is an easy way to make this... I'm sure someone will teach me :)

    Visual Basic ios sysadmin help tutorial question

  • auto updater
    E ecentinela

    I have seen in this site a few ways to create an auto update feature in aplications (and are good), but seems to be a "home" solutions. Which is the "profesional" way to make this? Thanks.

    Visual Basic question announcement

  • bluetooth connection
    E ecentinela

    Thanks a lot! Very useful links!!

    Visual Basic question tutorial

  • bluetooth connection
    E ecentinela

    I need to establish a connection between one PC and a PocketPC. Someone can guide me about how can I start? Thanks

    Visual Basic question tutorial

  • VBNET, mysql and time field error
    E ecentinela

    Well, I solved the problem this workaround: "select id, text, DATE_FORMAT(time,'%H:%i:%S') from table" Hope this helps to somebody!

    Visual Basic database help mysql question

  • VBNET, mysql and time field error
    E ecentinela

    I have an sql query like "select id, text, time from table" filling a datagrid. i have a problem with the datagrid values in the time cell. It says that has null values or 00:00:00 value. I don't know why. If I make the same query directly in mysql, it returns correct values. I test the same query with a little variation "select id, text, HOUR(time) from table".This time, the datagrid shows the correct values (12, 06, etc). Someone knows why is happening this?

    Visual Basic database help mysql question

  • Tooltip
    E ecentinela

    But that I want is to show the tooltip without the cursor. Maybe I'm not explaining well... I'm reading the link you share and in one of the first lines says "The ToolTip class allows you to provide help to users when they place the mouse cursor over a control." I think that this explanation answer my question. It's not posible to show the tooltip if the cursor don't moves over him.

    Visual Basic tutorial question

  • Tooltip
    E ecentinela

    Yes, I know. But this tooltip will show when user stops the cursor over the control. I want to show it with no action from the user. Thanks anyway

    Visual Basic tutorial question

  • Move mouse with code
    E ecentinela

    Thanks a lot, it works well!!

    Visual Basic help question

  • Tooltip
    E ecentinela

    There is any way to show a tooltip within the need of stop the mouse over a control? For example show the tooltip when a timer counts to 5 seconds... Thanks

    Visual Basic tutorial question

  • Move mouse with code
    E ecentinela

    I'm trying to move the mouse over a button with code but I can't. I found this property "Control.MousePosition" but I can't do it. Someone can help me? Thanks

    Visual Basic help question

  • Problem with Access SQL
    E ecentinela

    It works like you say... but why in access my query returns values and in VB not? Thanks a lot!

    Visual Basic database help question

  • Problem with Access SQL
    E ecentinela

    In a test I'm making I type this oledbDataAdapter.SelectCommand.CommandText = "SELECT * FROM tbl_clientes;" oledbDataAdapter.Fill(Dataset) Me.DataGridBuscar.DataSource = Dataset Then I change the code to oledbDataAdapter.SelectCommand.CommandText = "SELECT * FROM tbl_clientes WHERE nombre LIKE '*j*';" oledbDataAdapter.Fill(Dataset) Me.DataGridBuscar.DataSource = Dataset And nothing is selected!!! If I copy and paste the SQL in the access editor, it returns a few records that begins with "j" (what I want!) Why this not runs in VBNET? Thanks.

    Visual Basic database help question

  • block the mdiform
    E ecentinela

    It's ShowDialog() Thank you!!

    Visual Basic question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups