|
Hi,
I actually figured it out. I removed the database from my project, then readded it, and then selected the option Yes to copy database to project.
Thanks for your help.
Rashar
|
|
|
|
|
Hi all!
i m using AxWebBrowser in vb.net application by dragging it to the form its working fine, but i want to use it with out form's support i,e; programatically.i am doing like this
''''''''''''''''''''''
Private WithEvents mybrowser As AxSHDocVw.AxWebBrowser
mybrowser = New AxSHDocVw.AxWebBrowser
mybrowser.Navigate("www.google.com")'Exception in this line
'''''''''''''''''''''''''''''''
Exception is "Invalid ActiveXState"
Any help thanks!
Abu Sufyan
|
|
|
|
|
IIRC, the control will only work when it's on a form. You can't use it without one. There's nothing preventing you from putting it on a hidden form though...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Dave,
You just beat me to it. lol Abu this is one of the very generous people that helped me with mine, I'd listen to him.
|
|
|
|
|
Hi Abu,
The problem I see is that you are not adding the AxWebBrowser control to anything first before trying to use it. As far as I know you have to add it to a form, TabPage, Panel or GroupdBox or something like that. You can't just tell it to appear and start using it, it must be put on something of that nature first in order to use it. But I could be wrong, I'm new at this although I just finished working with the AxWebBrowser control to do a Web Browser myself.
|
|
|
|
|
Hi
Is there a quick n easy way to create an app that has a text box on the left where you can type in HTML, and a 'Web Browser' box on the right that can display the HTML from the text box?
Thanx
Richard
-- modified at 9:06 Wednesday 8th March, 2006
|
|
|
|
|
lol is that hard?
i am doing on that...
i am working html editor... just like dreamweaver
yust place one textbox and one axwebbrowser
thats all
in textbox you type code, and when u click on button preview then the webb.visible=true
webb.enabled=true
-------------------------------------------
for saving and opening (streamreader, streamwriter)
-------------------------------------------
u need to save project and then the webb.navigate(saved path)
<blink>FeRtoll Software.net
------------
E-Mail me
WebPage
|
|
|
|
|
Hello
That works Perfectly - And so short to code!!!!
Thanks
Richard
|
|
|
|
|
|
anyone know how to play sound in vb.net?
which can play the background music first then some sound effect when havaing some action, which the background music woundn't stop...
|
|
|
|
|
|
actually i already able to play sound by using API methos but wat i mean is when i playing the long legth background music, it will stop when i play the sound effect... anyway to play those sound together and not stoping the previous then play the next one..?
|
|
|
|
|
Hi,
I want to add the Desktop , My Computer , Netkwork Neighbourhood , RecycleBin in my treeview control
Please help me.
Thank You.
|
|
|
|
|
|
Hi ,
I have displayed all the drives and their corresponding folders in treecontrol .Now the problem is I want to display the desktop (which contains my computer , recyclebin , network neighbourhood).But the desktop folder does not contain these things . These things might exist virtually in the desktop.But these have special paths and I don't know their path.
Please help me.
Thank You
|
|
|
|
|
Can anyperson help me how to change the properties like column header text,width,alignment etc without using tablestyle.
SUMAN CHAKRABORTY
|
|
|
|
|
TableStyles is the best way to do it. I've found this[^] FAQ pretty handy when it comes to DataGrid stuff like this.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi!
I need to export data contained in the DataGridView control to Excel. The code provided here does the work, but not fully - when Excel opens the file, it recognises it like a "Tab delimited values" and import wizard appears. This is too complicated for (my) end users, so I need a way to write "real" xls file, without the need of end user action. Do you know how can I do this?
The code is:
'(tab is DataGridView control containing data)
Dim fileText As System.Text.StringBuilder = New System.Text.StringBuilder()
'exporting column names
For Each col As DataGridViewColumn In tab.Columns
If col.Visible = True Then
fileText.Append(col.Name)
fileText.Append(vbTab)
End If
Next
fileText.Append(vbCrLf)
'export cell values
For Each row As DataGridViewRow In tab.Rows
For Each theCell As DataGridViewCell In row.Cells
If theCell.Visible = True Then
fileText.Append(theCell.Value.ToString())
fileText.Append(vbTab)
End If
Next
fileText.Append(vbCrLf) 'moving to the next row
Next
My.Computer.FileSystem.WriteAllText("Test.xls", fileText.ToString(), False)
Any help would be appreciated!
Thank you in advance!
Veljko
|
|
|
|
|
is this a windows application
Bulbul Bhuwania
|
|
|
|
|
Yes, this is a windows application (there are many solutions on the net for asp / web, but I've found none for windows app).
Can you help me?
|
|
|
|
|
I am having the same problem. Please provide me the solution if you happen to get one.
With Best Regards,
Mayur
|
|
|
|
|
check this
http://gridviewguy.com/ArticleDetails.aspx?articleID=26
|
|
|
|
|
albCode, thank you for the reply, but I have allready found many sources for converting in ASP using web pages..
What I need has to be done using Windows application.
|
|
|
|
|
http://www.vbfrance.com/codes/REQUETE-SQL-MULTI-TABLES-CHARGEE-DANS-DATAGRID-EXPORTATION_34985.aspx
http://www.readablog.com/feed9160.aspx
|
|
|
|
|
I have a text box which is always disabled.
Is it possible to change the fore color and the background?
I tried to default the color to bule,
but the color of the text box still in gray.
Any suggestion? Thank you
|
|
|
|