which are the control used to display word files and excel sheets inside vb.net forms ?
(i have already added reference lib.)
Platform: Vb.net (framework : 3.5)
language : visual basic
...
hi to all
After I published the system, I tried to add and update some records. My problem now is if I open the timekeeping.mdb database, the records that I've added and modify doesn't update. I don't know if there are another file that being called by the system after I publish. I tried also to search all timekeeping.mdb file and open ...
I have a rich text box in one of my applications (WPF). Now I want to store the data of the rich text box along with its formatting (e.g. bold, colored etc.) into a database (SQL Server). Currently I am storing the whole XAML of the text box in a database field. however, I am not sure whether this is the right approach. Looking forward t...
I have a sqlce database table that I am entering data every day.
Date No Meter_1 Meter_2 Meter_3
12-05-2010 1 1234 3456 4567
12-05-2010 2 3423 4567 0987
13-05-2010 1 2345 7654 7654
13-05-2010 2 7676 8765 5643
14-05-2010 1 ...
Hello all,
I have encountered something strange.
I wanted to have the value of my gridview boundfield so I did this.
SelectedID = objGridView.Rows(0).Cells(4).Text.ToString
At first this seemed to work. I played around a little created a hyperlinkfield wanted to get that value but got an empty string. After some looking around it t...
I created a survey in vb.net where results are stored in an Excel file.
Locally I can access and update the data of the file, but if I put online can not correctly access the excel file.
How can I determine the absolute url of the file so, when a user submits the answers they can be inserted correctly in the excel file?
Currently I use...
I have a DataGridView with two columns defined like:
Dim col As New DataGridViewColumn
col.DefaultCellStyle.BackColor = Color.FromArgb(&HFFAAAAAA)
col.Name = "Description"
col.MinimumWidth = 80
col.DataPropertyName = "Description"
col.ValueType = GetType(String)
col.ReadOnly = True
col.CellTemplate = New DataGridViewTextBoxCell
S0Grid.C...
First of all, i'm a Graphic designer so please ignore if this programming question seems stupid ... I know this question could've been split into two or three smaller questions but since I'm really new to coding VB.NET it would've killed me trying to put together the stuff ...
Directory Structure:
I have a directory structure as follows...
In my application, a string generated its length can varying from 1 to 100 (not using random number algo). But I want if length is less than 7 than need to add integers 1,2,3.. untill its size reach to 7. I implements it using while loop as :
If generatedUserName.Length < 7 Then
Dim count As Int32 = 0
While generatedUserName.Len...
When investigating effective methods of documenting our VB .NET project, by experimentation I discovered that I can make a comment like
'See the file at file://path_to_file
and I can then ctrl-click on this link to bring up the file in a new tab. Is this feature and perhaps other capabilities of Visual Studio comments documented anyw...
Hi, I am looking for the best way to dynamically arrange the location of labels (or any control for that matter) during runtime in a Windows Forms application using VB.net or C# in VS2008.
I have a control that displays messages created by users.
This control has a panel docked at the top which holds the header information for each mess...
Hi,
How should I split a string separated by a multi-character delimiter in VB?
i.e. If my string is say - Elephant##Monkey, How do I split it with "##" ?
Thanks!
...
Do we have any free 3rd party library that we can use in asp.net for download Excel sheets? Please provide me some.
...
just as the question says. I get numbers like 2125550938 or 20298277625552. these should change to (212) 555-0938 and (202) 982-7762 x 5552 respectively. this is in vb.net
...
OK.
I'm in essense trying to make my own interpretation of the NES hardware, so I can make a game that ideally would resemble what a NES game would look like. I'm currently stuck with how to adjust how to draw the playfield to the video memory (back buffer).
BACKBUFFER
The NES had restrictions on the nametable, or backbuffer. For my ...
vb6 used to support both procedure view and full module view. VB.net seems only to support the latter.
Why would they do this? Is it perhaps because people generally have bigger screens now (and less need to scroll).
I find that I have to scroll down a sub/function very slowly with full module view or else i'll inadvertently end up in a ...
When it comes to storing SQL in code, most people use strings:
Dim strSql As String = "Select Foo, Bar From FooBarTable Where Something = @Something"
The problem is, when you have very long SQL strings, reading them in code becomes difficult. You can usually split the strings up like this:
Dim strSql As String = "Select Foo, Bar From...
this is part of code for my checkbox.
For Each c As Contact In contacts.Entries
counter += 1
tr = New HtmlTableRow
tc = New HtmlTableCell
Dim chkbox As New CheckBox
chkbox.ID = "id_" & counter
tc.Controls.Add(chkbox)
tr.Cells.Add(tc)
Next
now this ...
Is anyone aware of a way that I can set application (or user) level settings in a .Net application that are conditional on the applications current development mode? IE: Debug/Release
To be more specific, I have a url reference to my webservices held in my application settings. During release mode I would like those settings to point to...
Hi all,
I have successfully returned data from a ASP.Net webservice in JSON format (using a service method that required no parameters) but have struggled with making a webservice call that requires a parameter.
Webservice:
<WebMethod()> _
<ScriptMethod(ResponseFormat:=ResponseFormat.Json, UseHttpGet:=True)> _
Public Function TestWebS...