|
Hello
I am trying to bind a Date Time Picker to a "Date/Time" field in an Access database.
1st of all I tried to bind the DateTimePicker with the "Value" property and that didn't work so I tried to bind the date to a text box and that didn't work.
The error I keep getting is:-
System.ArgumentException
Cannot Bind to property or column TheDate on DataSource.
Any Ideas
Many Thanks
The FOZ
|
|
|
|
|
hi all
this is what i plan to impliment. create a media server with some videos. develop an application to select the file and view it. i would be implimenting it on my college network. i do not plan to use media streaming.
i would need help on the following:
1. how do i get the media player up and running? does it have the functions to connect to the database and fetch the file?
2. whats the best way to impliment the database. should i keep an index in a databse like SQL or access?
regards
Vineet
|
|
|
|
|
media files are big, so I wouldn't use a database to store the files, just store paths to the files on the file system. Then, your media player can connect to the actual files over the networ, all you need to do is tell it where to look.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hello, I'm using VB.NET 2005, I am trying to use the Internet Transfer Control to load a web page source into a rich text box and then index all the words into a SQL database, but when I tell the Internet Transfer Control to open a URL it gives the following error
Exception from HRESULT: 0x800A8BA8
The URL comes from a text box, when I press a button.
I would be very grateful for any help
Thanks
Aaron
|
|
|
|
|
I have a multi-threaded webserver core written in VB.NET. I have gotten it to parse headers, send HTML Documents, etc...
But whenever i send images they show as an X or corrupted...i was thinking i wasnt sending or reading in the right mode...but i read in binary to a byte array and i send as a byte array so im very confused...
You can view my current source code here:
http://prdownloads.sourceforge.net/caedo/CaedoHTTPd.rar?download
it would greatly appreciate help, so i can finish porting my webserver to .net and further advance the possibilities.
If you can help, please reply asap!
|
|
|
|
|
hellow to all
i am drawing a graphics object on a picture box , when i click a button , i see the shapes , but after i move to other form the shapes fade away ,
is there any way to solve this problem ? , i think i am missing a line of command , that save the image ,
thx for anyhelp ..
|
|
|
|
|
You can't just draw things on the screen, and expect them to get magically attached to the control that happens to be at the location where you draw. You have to catch the draw event of the control and use that to draw the graphics.
---
b { font-weight: normal; }
|
|
|
|
|
|
Inherit from the control and override the OnPaint method, or make an event delegate and add to the Paint event.
---
b { font-weight: normal; }
|
|
|
|
|
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
|
|
|
|