|
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 )
|
|
|
|
|
Psycho-*Coder*-Extreme wrote: could literally insert up to 65,000 rows
Are you Inserting from within a loop? Or Are you using a Stored Procedure? Please make it clear..
Anyway, if you are doing the DML inside the loop, then there sure is a chance
The name is Sandeep
|
|
|
|
|
Iam using a Stored Procedure, but it is an INSERT INTO....SELECT FROM Stored Procedure.
"Okay, I give up: which is NOT a real programming language????"
Michael Bergman
|
|
|
|
|
Hi,
Usually I used image animation like windows when copying file.
GoodID
|
|
|
|
|
I am using the DataGridView unbound but now I have need to present boolean information to the user with the DataGridViewCheckBox class. Normally I format a DataTable and populate a datarow into that table like thus as below, but when I add the DataGridViewCheckBoxColum in, I cannot populate the DataTable it has to be inseerted into the grid itself. Any help would be appreciated.
Dim column As New DataGridViewCheckBoxColumn(), rDesc As New DataColumn(), tb as New DataTable
With rDesc
.DataType = System.Type.GetType("System.String")
.ColumnName = "Description"
.Caption = "Description"
.ReadOnly = True
End With
Me.tb.Columns.Add(rDesc)
//Problem Area
With column
.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells
.FlatStyle = FlatStyle.Standard
.CellTemplate = New DataGridViewCheckBoxCell()
.CellTemplate.Style.BackColor = Color.Beige
End With
DataGridView1.Columns.Insert(0, column)
Me.DataGridView1.DataSource = tb
Dim r As DataRow
r = tb.NewRow()
r(0) = "hello"
tb.Rows.Add(r)
"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
Einstein
|
|
|
|
|
I can't seem to dispose of a singleton object that my web page has created. Here is the class code:
Public Class Class1
Implements IDisposable
Private Shared myInst As Class1
Private Shared myMutex As New System.Threading.Mutex
Public Shared myVal As Integer
Private Shadows disposed As Boolean
Public Shared Function GetInstance() As Class1
myMutex.WaitOne()
If myInst Is Nothing Then
myInst = New Class1
End If
myMutex.ReleaseMutex()
myInst.myVal += 1
Return myInst
End Function
Public Sub Dispose() Implements IDisposable.Dispose
If Not disposed Then
disposed = True
GC.SuppressFinalize(Me)
End If
End Sub
Public Shared Sub DisposeIt(ByVal Cls1 As Class1)
Cls1.Dispose()
End Sub
End Class
In my web form, I have this code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim myclass1 As Class1 = Class1.GetInstance
Class1.DisposeIt(myclass1)
Response.Write(myclass1.myVal)
End Sub
When I run this program, the object will be created and myVal will be incremented every time the program is run, whether I close the browser beforehand or not. In other words, the "Class1.DisposeIt(myclass1)" statement simply doesn't dispose of the object in memory. I am trying to understand singleton objects and disposing of them, but I am missing some critical concept here. Any help would truly be appreciated.
|
|
|
|