|
i am using dotnet 2003.i am doing my project in vb.net windows application.i have two form in my project.first form is datagrid .In second form label and textboxes are avilable to save the entering values in datagrid of first form through this 2nd form.my problem is,in 2nd form,if i enter letter a in findtextbox and i click find button means,i want to display the values automatically (assyst in companynametextbox,vijay in contactpersontextbox,cbe in addresstextbox)in 2nd form.
for example,
in first form,
there are 4 columns named as companyname,contactperson,address in datagrid.
values are assyst for companynamecolumn,vijay for contactperson column,cbe for address column.now values in datagrid like below
companyname contactperson address
assyst vijay cbe
in 2nd form,there are 4 label and 4 textbox.textbox are named as findtextbox,companynametextbox,contactpersontextbox,addresstextbox.
my problem is,
in second form,
if i enter letter a in findtextbox and i click find button means,i want to display the values automatically (assyst in companynametextbox,vijay in contactpersontextbox,cbe in addresstextbox)in 2nd form.
during runtime in vb.net windows application.so how i do these.plz help me.
|
|
|
|
|
How to send messages from one mechine to another in vb.net application
Regards
ravi
|
|
|
|
|
Creating Desktop Application Remote Controls with the .NET Compact Framework (Part 1)
By CJCraft.com. Here[^] in CP will Help you.
Regards,
Satips.
|
|
|
|
|
Define "message". Are you thinking of writing both the client and server applications? Is this a chat application? Are you interacting with another application that you did or didn't write? More information is needed to answer this question.
|
|
|
|
|
Hi Dave
Thank for ur reply
Actualy i wanted to create desktop application where administrator can view his department employees work status, if he found anybody is taking long time then he can communicate to that employee through application.
Only Administrator and employee can communicate through application .
Hope this will clear ur doubt
regards
ravi
|
|
|
|
|
This is no different than any other chat application. You just have to add a little bit of security.
The way you describe it, it's just another tool for a bad manager to become worse by micro-managing.
|
|
|
|
|
Thanks dave for ur reply and suggestion, but my job is to deliver product its managers choice how they are going to use such application.They have to decide its good or bad.
Regards
ravi
|
|
|
|
|
Hi,
Am handling the text in textbox for the below code, it works fine, I like to handle the text presents in the word document or a string value for the below code instead of Textbox1.Handle, is there any way to pass the string value as IntPtr.
Private Sub Button48_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button48.Click<br />
messge(Textbox1.Handle)<br />
End Sub
Private Sub messge(ByVal value As IntPtr)<br />
' <br />
'<br />
'<br />
End Sub
Kindly suggest me
Thanks,
Nanda
|
|
|
|
|
Are you passing this String to another application or inside your own? Passing by IntPtr is hardly efficient, so I don't see why you would do this. What's the point?
|
|
|
|
|
Hi Dave,
This is the code given in SDK,
SSCEVB_CheckCtrlDlg(Me.Handle, TextBox1.Handle, False)
Function SSCEVB_CheckCtrlDlg(ByVal parent As IntPtr, ByVal ctrlWin As IntPtr, _<br />
ByVal selTextOnly As Short) As Short<br />
<br />
<br />
End Function
Here I would like to pass the Msword Document as IntPtr instead of TextBox1.Handle as below but it doesnt support.
Dim docPointer As IntPtr = Runtime.InteropServices.Marshal.GetIUnknownForObject(Word.Application)<br />
SSCEVB_CheckCtrlDlg(Me.Handle, docPointer, False)
Kindly Suggest Me
Thanks,
Nanda
|
|
|
|
|
What SDK? What does this function do?
|
|
|
|
|
Hi,
I am having complex schema XSD file, i want to convert the XSD schema in to database table (oracle/sql server 2000) using vb/c# .net is it possible. If so can you plz guid me how to convert.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
Don't Cross Post.
Regards,
Satips.
|
|
|
|
|
Man, you fired that question off three times in three different forums. And you missed putting it in the obvious one - the SQL Forum.
|
|
|
|
|
Hi, I have a web site and store DB in it, I want to created window application to access those DB, Can i?
One thing with my window application can i get how many user one my web site?
Socheat
|
|
|
|
|
A web site and a database server are two differnt things, having your site live doesn't mean your database can be connected to, via the web ( thank goodness ). The logical thing to do here is to write a web service, which has methods to access the DB, and one to return a user count, if you want it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I don't understand what you mean, can you clearify my question?
Socheat
|
|
|
|
|
I can clarify my answer - having a web site that is live, doesn't in any way expose any database that may be in use on that web site. You need a web service to do that, with methods that call the database.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
So, can you give me an example?
Socheat
|
|
|
|
|
Hi guys.
My company just bought and installed Share Point. I hope someone has/had experience with Share Point and can point me to the right direction. I just need some guidance for development.
As a .NET developer I need to know how do I create and integrate my applications (we have bunch of them (that I built) which are used by different departments within the company. For example: We will use Share Point as Intranet (calendars, documents, project flows, etc) so how do I create and integrate custom made application into Share Point Intranet? I have never used Share Point but heard some things about it (easy to use, great value, etc.) so please understand my confusion and forgive me if I ask stupid questions?
Any books, links, examples will be greatly appreciated.
Thanks a lot.
|
|
|
|
|
Hi,
I'm using the invoke method on some reflection, and don't really understand what I'm passing into the function.
My function passes an object reference which needs to be passed down into the reflected assembly.
The assembly then creates an object and then passes a reference back to this newly created object through the passed in object "ConfigObj"
<br />
Public Sub ShowConfig(ByRef ConfigObj As Object)<br />
<br />
' ShowConfig() function inside my plugin takes in 1 argument, <br />
' the reference to an (config) 'object'<br />
<br />
' Create args array for the invoke() function, <br />
' containing our reference<br />
Dim args = New Object() {ConfigObj}<br />
<br />
' display the Config window <br />
' wait for it to close <br />
pShowConfig.Invoke(tsInterfaceObj, args)<br />
<br />
' all done. ConfigObj now points to something interesting<br />
<br />
' actually we're not, args(0) contains the object <br />
' we want, not ConfigObj. Therefore make sure<br />
' ConfigObj is the correct reference is given back<br />
ConfigObj = args(0)<br />
<br />
' Mmm, this now works!<br />
<br />
End Sub<br />
I *thought* that if I set args to contain my passed in ConfigObj object, when passing that down into the pShowConfig methodinfo, it would return insided the ConfigObj object passed down (inside the args() array)
BUT
I'm finding that after the .Invoke() method, ConfigObj still references Nothing, but args(0) references the object which is being passed back. Therefore I'm needing to copy the args(0) reference into my ConfigObj variable.
It looks like when I perform the args = {} line, it just create a completely new object, with objects in the array OF TYPES of ConfigObj (Object Type), and not a reference to my ConfigObj Object passed in.
Is this correct?
It doesn't "feel" right....?
any points on this?
This is fundamental stuff, which I'm not getting
Thanks for your help,
Phil.
|
|
|
|
|
twista wrote:
It looks like when I perform the args = {} line, it just create a completely new object, with objects in the array OF TYPES of ConfigObj (Object Type), and not a reference to my ConfigObj Object passed in.
Is this correct?
Not at all. It creates an array of references to Object with the size of one, and populates it with a reference to ConfigObj.
The method that you are calling is simply not populating the object that you are passing in, it creates a new object and returns it.
---
single minded; short sighted; long gone;
|
|
|
|
|
I try to not post many questions here (Google is a programmers best friend) but I thought I might get a better answer here than from a Google search. Here's what I'm trying to do: I have a process (a bulk insert into a SQL 2000 table) where ti could literally insert up to 65,000 rows (depending on how many people we are traveling in any given travel year) and I'm wanting to show some kind of progress meter to the user so they don't think the application's just froze up.
Anyone got any ideas on what is the best process for implementing something like this?
"Okay, I give up: which is NOT a real programming language????"
Michael Bergman
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
"Let's face it, the average computer user has the brain of a Spider Monkey."
Bill Gates
|
|
|
|
|
are you inserting while in a loop or are you doing an insert into from a select statement? if the 2nd choice, then it would make it shard to show progress...
|
|
|
|
|
There's really no way you can track progress, unfortunately, as you're tracking an atomic process in another program.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|