| |
thread by: Marko Danilovic |
last post Oct 22 '11 by: Marko Danilovic
I need to open some HTML file, then replace exact line of text with another, and then WITHOUT SAVING THE FILE (WriteAllLines(HTML01, lines)) to display in WebBrowser. My code in private sub of replacing the line is next:
Dim lines() As String = System.IO.File.ReadAllLines(HTML01)
lines(7) = "editovan HTML"
...
|
thread by: SEhtesham |
last post Oct 21 '11 by: !NoItAll
Hi,
I have a simple query but im just not able to get it right.
Have a look at my sample code below
Sub Function1
My Code Here
Function2(Year,Month)
|
thread by: SEhtesham |
last post Oct 18 '11 by: Frinavale
Hi,
I have a StatusStrip and is filled with Year in the format say "June2009 - May2010".
I want to get the years from this string like 2009,2010 from the above string.
Please suggest how can i do this.
I have tried this but not able to further separate June2009.
Please have a look
Dim strYearDet As String()
strYear11, strYear2 As...
|
thread by: Ruchi22 |
last post Oct 15 '11 by: Ruchi22
Mine is a windows app. containing forms named BOM nd BOMSelected..
There is datagridview in BOM which contains checkbox column.. When the user selects checkbox, the selected rows should be seen in the datagridview of other form, SelectedBom..
I have coded but don't get it working.. Some error..
Can you please help ??
Your Help is...
|
thread by: conerlysduck |
last post Oct 14 '11 by: Frinavale
Hello,
I am trying to change MMDDYYYY to European format YYYYMMDD. I have this in my query:
"20" & Right(!,2) & Mid(!,3,2) & Left(!,2)
which gives me YYYYDDMM. Does anyone know to get the DD and MM switched so it reads YYYYMMDD?
|
thread by: extra brain |
last post Oct 14 '11 by: extra brain
Hello
I'm using VB.net to validate then read an xml file.
I need to implement a parser class to catch an exception of missing tags and then inserts the required tag in its place.
I need to implement a parser method just like the one Firefox provides when it catches a missing tag. Take the following result from FireFox as a reference.
"XML...
|
thread by: genericuser |
last post Oct 13 '11 by: genericuser
hey guys :)
im writing a basic login program, and i want to include a picture login. the only problem is, i dont know how to detect where a click occurs. the click would be on a picturebox, so im guessing, it would come under the picturebox click event, and use an if statement to say if within (x,y) and (x,y) and (x,y) and (x,y) then carry out...
|
| |
thread by: Ravi Pandey |
last post Oct 13 '11 by: !NoItAll
is it possible to create our own toolbox by which we drag and drop the tools?
|
thread by: !NoItAll |
last post Oct 13 '11 by: !NoItAll
So I've been wrapped around the axle on this problem using the tcpClient and networkStream.
My code first sends a byte count (8 bytes) so the receiver knows exactly how much to expect. This works flawlessly. Subsequent transmissions would sometimes get everything, but with large records (I'm sending object(s) serialized as XML) the data...
|
thread by: kaleb |
last post Oct 13 '11 by: kaleb
hi .how can i use fonts that are not latin letters in my vb.net program.
for example my program is creating a notepad and i want to write on the notepad with my local language(language that doesn't use latin alphabets.plus i want the menus on the notepad in my local language
|
thread by: SEhtesham |
last post Oct 13 '11 by: 1sanjeev
Hi,
My application is in VS2008 and coded in VB.net.
I have a datagridView(DGV) on one of my form.DGV contains a column of type DatagridViewComboboxColumn.I have another column of SrNo.
Consider Table1 to be the table from where my DatagridView is filled which contains following fields SrNo,Value1,Value2.
My requirement is i want to...
|
thread by: Clifford Sutton |
last post Oct 12 '11 by: Clifford Sutton
I have created many programs in vb.net using crystal reports XI it works fine in visual studio but once I deploy it and I am attaching the Crystalreportsredist2005 _ X86 they do not run in windows 7 the programs do but when you go to print it asks for the printer then it tells me that the program has an error and is shutting down but it...
|
thread by: ygs1234 |
last post Oct 12 '11 by: piyushagrawal
My knowledge of VB.net is limited (only have been reading from the book)
so what i need to do for my project is to populate a listbox with files from a certain directory (C:\folder)
then once it's populated, i can select an item and it will open up in a rich text box.
This is what i have so far for the active directory > list box:
...
|
thread by: Kevin Miller |
last post Oct 11 '11 by: kadghar
Im writing an if then statement and i want it to say something like this:
If intx = 1 and btn.click = true then
'the rest of code
end if
But obviously "btn.click" isnt a real command. Any ideas?
|
thread by: Shahzad Ali |
last post Oct 11 '11 by: kadghar
I have a double type variable Sum and more than 1 textbox. When i divide one textbox value to another textbox value i got result of this type .00000000438000 and assign this value to another textbox. I want to change this value into exponentional form like 4.3*10-9. In which way i will change this value. I m trying my best effort bt i can't do...
|
| |
thread by: ryan malaque |
last post Oct 11 '11 by: kadghar
Why is it that when I'm trying to run my program i always see this error>>>> syntax error in insert into statement.....
i declared everything
in this function has an error:
if inc <>-1 then
dim cb as new oledb.oledbcommandbuilder(da)
dim dsnewrow as datarow
dsnewrow=ds.tables("ryan").newrow()
|
thread by: monisha21 |
last post Oct 11 '11 by: Frinavale
Can anyone help me with the meaning of this snippet?
string conString =@"Provider=Microsoft.JET.OLEDB.4.0;" + @"data source=c:\billing.mdb";
OleDbConnection conn = new OleDbConnection(conString);
Conn.Open();
DataSet ds = new DataSet();
OleDbDataAdapter adapter =
new OleDbDataAdapter("Select * from product where id=" + id, conn);
|
thread by: leo1937ca |
last post Oct 10 '11 by: leo1937ca
I am using vb 2008 Express and having a problem adding a Cancel, Maximize and Minimize Group to the Title Bar on a MDI Form. None of the Icons display on the Title Bar and neither does the default Icon. The Properties have been set to true for each. The Cancel Button Properties shows "None". I did a (*.ico) search for the default Icon that usually...
|
thread by: timotech |
last post Oct 10 '11 by: timotech
Hi All, Please i found this tutorial on http://www.codeproject.com/cs/media/cswavrec.asp and i run it, but its bringing this error when i click on start:
private void Start()
{
Stop();
try
{
WaveLib.WaveFormat fmt = new WaveLib.WaveFormat(44100, 16, 2);
m_Player = new WaveLib.WaveOutPlayer(-1, fmt, 16384, 3, new...
|
thread by: Q123asd |
last post Oct 9 '11 by: Q123asd
When i try to iterate through a populated WPF listview in order to remove a selected item, i get this weird, none sense of an error: cant cast string to listviewitem. (now I know what the error is implying, however; here is my code)
For each titem as listviewitem in listview1.items
if titem.isselected then listview1.items.remove(titem)...
|
thread by: Timothy Hedrix |
last post Oct 9 '11 by: Timothy Hedrix
So, I have two .NET programs I've coded. They're seperate processes. I'm wondering if it's possible to send a sort of message to one .NET program from the other, perhaps using something like WinAPI's SendMessage. Any ideas?
|
thread by: !NoItAll |
last post Oct 8 '11 by: !NoItAll
I am using a panel control in vb.net (2010) to build a timeline of images. These are very small images (320x180) and I am running into a limit of 240. While the panel does not complain when I add more - it will only scroll to the 240th one.
Here is what my timeline looks like:
http://www.viewpix.com/misc/timeline.jpgmouse-over to see the...
|
thread by: whitaker123 |
last post Oct 7 '11 by: whitaker123
Hi
I have a form with a splitcontainer, in the toolstrip i have a print Button. i open different forms in splitpanel2 via splitpanel1.
I would like to create a printclass whereto i can pass variables of the active forms...
for instance on form1 i have tabcontrol1 with tabpage1, which has DataGridView1, tabpage2 has DataGridview2 etc.
i...
|
| |
thread by: ganeshvkl |
last post Oct 7 '11 by: ganeshvkl
hi,
My Project is Desktop Application developed in VB.net 2008
with sql server 2008. For Reports i am using Crystal report 2008 . The Main Objectived of the project is sending mail to specified Customers with attachment (pdf File), it is working fine. Now i try to Fetch the PDF Content with the same alignment and Merge with the body of ...
|
thread by: LanaAlana |
last post Oct 5 '11 by: NeoPa
I've tried to run my program and I've used,
Driver={Microsoft Access Driver (*.accdb)};Dbq=" & Application.StartupPath & "\CITSDB.accdb;Uid=Admin;Pwd=123;
Resulting in,
ERRORCould not find file '(unknown)'.
ERRORSQLSetConnetAttr failed
ERRORCould not find file '(unknown)'.
|