|
Please help. How do I show a form for user to enter information in the textbox, query a database, and finally drop the contents from textbox1 and the sql query to textbox2? I know how to drag and drop from one textbox to the next but I wasn't able to show a form and then query a database before the drop is finalized.
Many thanks in advance!
Chong
|
|
|
|
|
Hello,
I have created a remoting server (.exe) in VB .net. Basically, the idea is to create a remoting server in .net and have a VB 6.0 client!
1. Is this an equivalent of activex exe(out-of-process server) in VB 6.0?
2. Can this be accessed from VB 6.0? How can this be done?
3. If the above is not possible, What is the alternative of activex exe in VB .net and how can i access it from VB 6.0 client?
Thanks in advance.
|
|
|
|
|
Hello,
How can I create a server on a web site , which is like a program which always runs? When a client (a program on computer) connects to the server on the web (just like tcp : Server client) I will send data from web to computer?
Thank you for your time
Best Regards
Emre YAZICI
Best Regards
Emre YAZICI
|
|
|
|
|
in VB6 is very easy to make whit the control Winsock, get a book or in the VB6 help are documentations that help you, if want a source code that make that (Server-Client) send me and e-mail
PD// whit this only you can send text like a p2p chat, but you can make modifications NICE DAY!
Para seguir la trayectoria:
mira al maestro,
sigue al maestro,
camina junto con el maestro,
mira a través del maestro,
conviértete en el maestro
(this is a poor traduction)
To make you trayectory:
Look your master
Follow your master
walk whit your master
look across you master
become in your master
|
|
|
|
|
My question is,i Need to create dibsection with GDI+ on VB.NET, or Create a Bitmap from array data
|
|
|
|
|
Hi,
I need a report to print to a file rather then to the printer when a user clicks on the Print option for the report
I am using MS Access 2000. I have tried the dialog box thing but I would like it to happen with out the user knowing it. Is there a way when a report is "Printed" to send it to a file.
The reason for this is so that a PostScript file may be made, then from that PostScript file create a PDF file for Email.
Thanks
William O'Malley
|
|
|
|
|
Hello
I want to send a string value to a web site. How can I send it from my program and how can I get it from web page???
Thank you
Best Regards
Emre YAZICI
|
|
|
|
|
If I understand you,
You can send the string using GET : http://www.m.com?MyString=data.
You can handle it in the server side by using QueryString :
C#
string mydata = this.Request.QueryString["MyString"];
|
|
|
|
|
THANK YOU FOR YOUR ANSWER
do you also know how to get a string value from web???
Regards
Best Regards
Emre YAZICI
|
|
|
|
|
Hello,
I have to store several individual pieces of information gained from database in corresponding nodes (in tag property) of a treeview.
eg.
node.text = dr.item("name")<br />
<br />
object.type = dr.item("type")<br />
object.subtype = dr.item("subtype")<br />
object.level = dr.item("level")<br />
...<br />
...<br />
<br />
node.tag = object
The most convenient datastructures seem to me to be either structures or class objects.
Structures are a bit easier to handle, as they have no to be instantiated each time information has to be stored in a node.
I would be interessted in the best way to do for small amount and for huge amount of treenodes.
What is more favorable concerning speed and memory consumption : structures or class objects?
Many thanks for your help.
Shrinkers
|
|
|
|
|
Because structures are value types, and because the tag property is that of Object , the structure must be boxed and unboxed as it is assigned and read, thus incurring some overhead. Performance testing would be necessary to see if the overhead is onerous.
α.γεεκ Fortune passes everywhere. Duke Leto Atreides
|
|
|
|
|
"the structure must be boxed and unboxed" -> In opposition, each object of type custom class must be instanciated. What would propbably cost more overhead?
Is there a difference, where objects of type class and structures are stored in memory internally ? I heard something about heap, stack , .... What would be the consequences of this objects stored at different places in memory concerning speed , memory consupmtion, overhead? Can anybody help?
Thanks
Marc Sommer
|
|
|
|
|
Hi,
I consider myself a pretty good classic ASP developer, and in an attempt to break into the .NET world, I have downloaded a sample application from Code Project called CodeBank (http://www.codeproject.com/useritems/codebank.asp?target=codebank[^]), and I'm having difficulty getting it running.
I have follwed the authors instructions (such as creating a new SQL 2000 dB and restoring from the supplied .bak file and creating various IIS virtual directories), and am getting a Parser Error returned from IIS. Seems to be when it gets to the "inherits" part of the code, because if I remove this, it works (partially, and then falls over somewhere else!) <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb" Inherits="codebank._default" %> .
The error returned when going to the main page of this project is:
Server Error in '/Codebank' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'codebank.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="codebank.Global" %>
Source File: D:\Inetpub\wwwroot\codebank\global.asax Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 I have looked around the newsgroups, and have found some references to compiling or building the project, but the download page for this project does not mention any need for it. Is this a pre-requisite for all downloaded projects so that they will run on a new server?
Basically, I'm stuck and don't know what to do next, and I'm hoping that you might be able to point my aimless "changing of files here and there to get it to work" into something more productive.
Ciao,
-==============-
www.e1design.com
-==============-
|
|
|
|
|
Hi everybody!
Is these any way to detect whether Shockwave Director is installed in the system by using VB?
Could you please let me know if it's way!
Thanks for your help!
|
|
|
|
|
Ok, does anyone out there know why the ComboBox in .NET Highlights the Text in the Edit area when the Control is resized at Runtime (i.e. when it is Anchored Top, Left, and Right)? This is VERY annoying! Especially when the Control is disabled and it looks Highlighted!!! I'm tried Combo.Refresh and maybe other SubClassing techniques which don't work at all! ARGHHH!
|
|
|
|
|
Hi folk,
I have my form class with the
public sub openformmodify(BYVal form_modify_Objname as string)
The problem is if the name of the object is product generally I must crate the object:
dim form as product = new product
But I want that the name of the class must be pass as string and the object must be create by the string value es.:
public sub openformmodify(BYVal form_modify_Objname as string)
dim form as (form_modify_Objname)?? = new (form_modify_Objname)??
End sub
?? How can make this?
|
|
|
|
|
|
Yes, I found an example of VB.NET but seems too complicate. Is there a way more fast and more simple? Could you provide an example?
Thanks you
|
|
|
|
|
Hi folks
I have made an application server in visual Basic.NET whose responsibility is to continuing checking the mobile connected to the PC.
I have used the Nokia Model 6210 and the connecting cable DLR3p and have used the libraries from Nokia site and the packege of that library name is Nokia SDK ver 2.1.
This package provides the libraries for the programming in VB or vb.NET.
Now My question is that i want to connect Multiple mobiles to the PC HWO DO I DO THAT.
is their any one to help me
|
|
|
|
|
I can fill a datagrid from SQL.. I can do this with ADO/JET but I am at a loss on how to get a single record to display on my form from an SQL database using my current connection.
I am looking for a clear and simple example. Thanks
Gollnick
|
|
|
|
|
There should be lots of examples out there of how to return multiple records, looping through records, returning one record etc. But here's a simple example of how I get back a record from a SELECT statement:
Private Function GetCustName(ByVal CustNum As String) As String<br />
Dim strConn As String = ConfigurationSettings.AppSettings.Item("connectionstring") 'Read connection string from web.config<br />
Dim conSQL As New SqlConnection(strConn) 'Create the connection<br />
Dim cmdSQL As New SqlCommand("SELECT CustName FROM Customers WHERE CustNum ='" & CustNum & "'", conSQL) 'The query I want to run<br />
Dim Rdr As SqlDataReader<br />
conSQL.Open() 'Open the connection<br />
Rdr = cmdSQL.ExecuteReader() 'Execute the query<br />
Rdr.Read() 'Read the record (only returns ONE record!)<br />
GetCustName = IIf(IsDBNull(Rdr("CustName")), "", Rdr("CustName")) 'Read the value from a field called 'CustName'<br />
conSQL.Close()<br />
End Function
This function returns a value from a record when you pass it a search criteris. If you want to populate text boxes on your form, then after the 'Rdr.Read()' line, you could do something like:
myName.text = Rdr("Name")<br />
myAddress1.text = Rdr("Address1")<br />
myAddress2.text = Rdr("Address2")<br />
etc...
Hope this helps,
Regards,
John.
www.silveronion.com[^]
|
|
|
|
|
I am working on an image editor app for a VB.NET class in college. I have been looking for code for a image display control that can zoom, pan, and be scrolled. Our professor is allowing us to use other people's controls as long as they are cited as being the creators of the control.
I've tried writing a UserControl to do this, but it's ugly. I get a lot of flashing (from Invalidating) when I scroll, and I know there's errors in my math somewhere because I can't always scroll back to where I started.
I'd also like to get a good old magnified pixelated look when I zoom, but instead I'm getting the bi-linear or tri-linear filtering. Is it possible to get around this and just get blockiness?
Thanks in advance for any and all help.
To not know is bad.
To not wish to know is worse.
|
|
|
|
|
I am 3/4 finished with one but unfortunately it is in VB Classic. If you want to help me, (porting it or just finishing it to be used in .NET thru interop) just let me know.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
I'd be up for both helping finish it and porting it. If you like, I can send you my code as well, goofy as it is, so you can see where I was coming from.
To not know is bad.
To not wish to know is worse.
|
|
|
|
|
I'm going to finish my viewport myself and maybe I'll send a copy to you. Too bad the .NET scrolling support is so lousy, but what they didn't give us, we can make ourselves.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|