|
can u provide me with link how to apply this method ?
|
|
|
|
|
I build a web based aplication useing shdocview (axwebBrowserobj1 -- internet explorer control). using mshtml class (mshtml.tlb) i can manipulate my html page,..
but then i have difficulties about how to make VB.NET cature HTML event (like some button (input type button) onclick event ,.. to execute my vb.net procedure.
any body have idea,... plz help,..
|
|
|
|
|
I'm working on a project that needs to search a database - one particular field of the database actually and find the record that contains the searched text in that field. If not found display a message box that states that then go load another form to add the record that isn't there. I don't want to use classes if possible. Is this possible with VB6?
Steve Smith
|
|
|
|
|
oh yea, this database table has an index as well - I never did figure out how to utilize that index. I'm familiar with clipper but haven't done anything with a database in vb6 yet.
Thanks again
Steve
|
|
|
|
|
Hi there. I have the following problem:
I need to make a control that has an irregular shape. So far so good - I have no problem drawing it using something like this:
Private Sub TabPage4_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs)
Handles TabPage4.Paint
Dim myPointArray As Point() = {New Point(50, 50), New Point(100, 120), New Point(140, 100)}
Dim MyGraphics As Graphics = e.Graphics
Dim MyPen As New Pen(Color.Azure, 2)
Dim mySolidBrush As New SolidBrush(Color.Aqua)
myGraphics.DrawClosedCurve(myPen, myPointArray)
MyGraphics.FillClosedCurve(mySolidBrush, myPointArray)
End Sub
So now I have drawn part of the control. The problem comes when I try to raise an event regarding the irregular shape I've drawn, not the ractangle containing it.
Can anyone help me with an idea, or maybe a hole new different approach to make such a control?
|
|
|
|
|
I need to build a program that does inventory. Then a form to subtract that inventory from what is on hand noting a account number or a name. can anyone help me. If it isnt one thing it is something else. I am new to VB.net, so i am still learning.
thanks!
steve
|
|
|
|
|
Hi. Everyone is still learning If you need to make an inventory program, you will almost certainly need to make a database. The first thing is to choose your DBMS (DataBase Management System) and take it from there. After you're done with the database, it's not so difficult to make that form. I could send you some samples if you like.
Best regards.
|
|
|
|
|
So i guess i need to create the tables in access and go from there? I want it to subtract the inventory once i put the account number that it goes with. Is that possible. I am using visual Basic .net
|
|
|
|
|
Just start from build the database then you'll find out what you gonna do next.
|
|
|
|
|
Hi, I am writing a web search engine in asp.net, but i need to know how to write a vb web indexing service in vb.net 2005.
The indexing service needs to crawl the web,and index the web sites key words and the web address.
I would like the indexed information to be entered in a sql database, or another way that can be accessed by a asp.net web page.
Any help or source code would be much appreciated. Thanks
-- modified at 5:14 Saturday 29th July, 2006
Aaron
|
|
|
|
|
I have been rewriting a app I did several years ago for a call center from vb6 to vb.net(vb7), it's been a real trip and a great learning experience. I decided to use Crystal Reports because it just looks good, easy to layout and print, and also that you can export. I have two issues to resolve. 1st, I use flat random files for speed, but I do not see any way to handle these with Crystal Reports. I though about using xml files, but there would be just to much to change with the existing code. So, would I have to create something like a dataset, populate it from my random access files, and then use Crystal reports against the dataset? Or is there an easier way. 2nd, I have figured out the process of sending a string to the report text and that works fine, but how can I take text that is loaded in a richtext box and export that to Crystal Reports so that it can be viewed and printed?
Thanks in advance...
|
|
|
|
|
Hi:
I intend to get datatable's primarykey using the following code:
Dim colArr() As DataColumn = oTable.PrimaryKey
I verify that the column number of oTable is more than 10, and in SQL the related table has a primary key (with a golden key marked on one attribute).
However, the running result of the code above is colArr.Length = 0. What's the problem? Could you please help me out? Thanks.
David
|
|
|
|
|
Are you sure that the DataTable has a primary key? If you Fill a table from a database you will get the data, but not necessarily the constraints and schema information. You will also have to perform a FillSchema (using a DataAdapter).
|
|
|
|
|
Thanks. I didn't perform Fillschema. that's the reason.
David Ye
|
|
|
|
|
Hi everyone,
I was wondering if it is possible to format a listview item's data after the data has been added to the listview. I have a custom listview that is populated from a datatable and one of the columns needs to be in a currency format. Do I need to format the data as it is being added? or can I modify it afterwards? thank you
eatwork
|
|
|
|
|
Hi,
I am trying to figure out how to share a common data between two seperate applications: app 1 and app 2.
Let's say I have a 2 dimensional array representing a grid with coordinate(x,y). Each coordinate represents a cell within the grid. This grid is used as a work floor divided into many cells. At any time, there's only one person supposed to be in one cell with coordinate(a,b). If the cell is occupied, it is marked as unavaible in app 1 thus no one is allowed to enter that cell at coordinate(a,b).
This grid (array) data is only updated in app 1. I want to send this array data to app 2 (on the same computer) or let app 2 have access to this data . How can I do this? Any help would be greatly apprececiated.
Thanks
|
|
|
|
|
I guess I'd write the data to a text file or (even more handy) to a database in app 1. Then app 2 would have a timer control that would check that file or access the database every so often and reload to show any changes in availablity.
|
|
|
|
|
Try to add Marking field on your database..
If any changes or user in app1 is using the cell then make a routine that will sets the fields value. The value will be represent as locking for example.
So.. when app2 is accessing the current cell, it will check the state of the cell and will set the rules to the user how to interact with it.
Example:
0=Unlocked
1=Locked
Make sure, you mark it when u click on the cell and immediately the routine will send/update marking value into related record that represent your current cell to prevent app2 to mistaken retrieve the incorrect marking value.
|
|
|
|
|
Hi,
I am trying to create a window application to control another application. At the moment I can only find info on how to open applications such as note pad and send strings to write in note pad. Let's say if I would like to do other things apart from just sending a string to notepad, how would I do it.
For example if I want to run a specific program such as MS Word, and then I want to access one of the menus to perform a certain action such as changing fonts or input shape into the Word document. I would like to perform all this using the controls such as a button on a form in VB.NET, how can I do this? Any help would be greatly appreciated.
|
|
|
|
|
Hello mrmathesw99!
Well there is a couple of things to note here:
To start various applications, you could use Process.Start.
I have noticed however, that you mention you want to able to do many things with MS Word for example. In that case you could use Automation to do whatever you want with Word, Excel etc.
So, what you need to do is to add a Reference To the Microsoft Word Object Library (Just click References in the Solution Explorer, and say Add Reference, Select the COM tab, and scroll until you find it) You can add references to all MS Office programs like that.
Once that is done, you can create Word Apllication variables and manipulate Word through that. Amazing huh ¿
Here's a small sample :
Dim SSWord As New Word.Application 'word application
Dim SSWordDoc As Word.Document 'document object
SSWord = DirectCast(GetObject(, "Word.Application"), Word.Application)
SSWordDoc = SSWord.Documents.Add(, , 1, False) 'add a document
SSWord.WindowState = SSWord.WindowState.wdWindowStateMaximize 'maximise word window
SSWord.Activate() 'activate it
SSWord.ActiveWindow.ActivePane.View.ShowAll = True 'show / hide symbols = true
After using the Word objects, you need to set the Word Objects to Nothing
And Quit it as well
Hope it helps!
H T G
|
|
|
|
|
Thanks HTG... I will give this a try with the application I'm trying to run and will see how it goes.
|
|
|
|
|
I wonder if anyone has had the same problem I am having at the moment.
I have a form with a tab object with a collection of 5 tab pages.
For this example, say the tabs are A, B, C, D, E
They are all in the correct order but when I run the application they are appearing as ;
A, B, D, E, C
I close the form and they are in this order,
A, B, D, E, C
I make the changes to be back as
A, B, C, D, E
Save the form and run again, they are back to
A, B, D, E, C
I have tried closing down VB.Net and doing as above but with no success.
Help me please before I pull out what is remaining of my hair.
|
|
|
|
|
I'm developing an application through LAN, when I use Insert, Delete functions on Server they'are ok but use them on Client they'are fail, so tell me the way how i do? The application is developed by SQL 2000 and VB.net
|
|
|
|
|
cayoaihuong84 wrote: when I use Insert, Delete functions on Server they'are ok but use them on Client they'are fail, so tell me the way how i do?
What do you mean by "fail"? What is the error message you are getting? What code are you using?
|
|
|
|
|
Hi all
Plz help me ;
i work in vb 6.0
i want to change a color of perticular cell in Hierachical FlexGrid Control 6.0
or bold a perticular cell
|
|
|
|