Go to Project>'your project name' properties.Once there in the Pablish section click the prerequisites button.In there check both .net framework 2.0 and crystal report for .net framework 2.0 and publish your application again..
Is there a way to show an AutoCAD drawing in a vb form.I can convert it to jpeg but what i want is to show the up,down,sides and 3dview of the drawing like autocad does.
What i want is to save the data from a form(textbox values) to an XML file.When i hit the save button it saves the current data to the XML . but when i create a new record to the form and hit save again the XML file has only the last record.
In general i want to create a database and insert...
Hi to all
I wanted to know if there is a way to insert new rows to an already created xml file.I have tried the WriteXML method of the data table but each time the data table changes ,the XML file has only the last data of the data table
how can use in crystal reports the data i have in a datagrid?i want to print a form with the datagrid field values.Is there a way in the crystal disigner to use form fields rather than database fields?
Can anyone tell me how to open excel with visual basic and the add to the excel data from textboxes .I have a form with data and i want to automaticaly add that data to an excel worksheet then save it.
You can make a Datatable with the same collums from the datagrid u made then fill the datatable with the values from the datagrid and then save the datatable to an XML file with the WriteXML Method so that you can recall it later
Dim gridtable As DataTable = New DataTable(datagridtable")
Dim...
I have tried this with the enter key to my code too but there are some bugs with the message boxes .When i use a messagebox to display a message the enter key doesnt work correctly and i have to use the mouse to click the messagebox button.
i have a datagrid witch i populate from a datatable i have created and populated(not a DB table).The grid shows the datatable values but when i change a value to the datatable programmatically the grid does not show the changes.I have tried the refresh and update properties but nothing...
Can someone tell me how to bind a datagrid to a datatable that is created and populated programmatically(the table is not part of a dataset or a bindingsource).I have tried the code:
datagridview1.datasource=testTable
but i always get an empty datagrid.
That doesnt work either.I finally found the solution.I have created a new datatable with the datagrid collumns,populated it with the grid data and then add 2 more collumns with the calculated data i need.Then i rebind the datagrid to the table and it works just the way i need it
I have 2 datagrids witch both a populated with data.
The first grid has the last collumn set as unbound collumn.
How can i copy the value from the first collumn of grid 2 to the last unbound collumn of first grid?
I thought of that but the calculations are not so simple.They are inside a function witch reads not only the datagrid fields but also from the database from other tables.And also i want to perform the calculations when i press a button.I manage to put the results to textboxes but not in the...
hello to all
I have datagrid witch is already populated with data.I have added an unbound collumn and i want to populate it with caclulated data from the other collumns
for each row when i press a button.does enyone have a clue on how to do this?
I have a datagrid with 4 columns.I populate the 2 colums with data from an access database.i need to populate the fourth collumn with calculated data from the 2 columns when i press a button.The grid is made in disigner and the 2 collums is databound the other one is unbound collumn
Here is...
Hallo to all!!
what i want is to simulate the oracle nvl function into vb2005
I have an access database. Here is the code i wrote witch it doesnt work
Public Function nvl(ByVal nLong, ByVal nref) As Object
If (nLong) Is Nothing Then
nvl = nref
Else
nvl =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.