i need to set the value to a width element of the style attribute of button control.
Like :
<input type="submit" name="btn1" value="Button" id="btn1" style="width:100px;" />
But how can i provide the value as a variable instead of hardcoded one. i don't want to achieve this through...
thanks for the reply jbenson001 .
i have a problem creating this control in the Page_Init event .
actually i am creating this control inside a cell of gridview .
program flow is like This :
1. gridview gets populated in form_load
2. onclick of a button dropdownlist needs to be added in the...
I am dynamically adding a dropdownlist to a webpage and binding its SelectedIndexChanged event to a sub.
few listitems are added to the control. the code in written in page_load . the first item comes
preselected. changing the listitem fires the associated event. but when the first item is...
thanks jdeane for the reply
I believe it requires a bootable cd ( win 98 ) . i have a win98 bootable cd , which does not have the win98 setup. the win98 setup is on my c drive.
so i inserted the bootable cd , the virtual pc boots and gives me a command prompt . but after that the keyboard...
I have Installed Virtual PC . but don't know how to set it up. i have created the virtual machine ( for win 98 )using the wizard. it starts , but after a while , it says
" Reboot and select proper boot device or Insert Boot media in selected boot device "
how to take it forward.
i have a PIV machine .
the pc came with ati radeon display card ( ATI radeon xpress 200 series ) and the motherboard drivers suite cd.
I have created dual boot , one for win98se and other for winxp . the motherboard drivers were installed successfully on win xp , but they don't work on win98...
how can i set Height and width of an html control from javascript ?
say i have a button h_btn1
<script language="javascript">
document.Form1.h_btn1.Width="300px";
alert(document.Form1.h_btn1.Width);
</script>
alert box is shown with width as 300 , but visually it does not change.
have created a simple activex control.
it loads successfuly on the aspx page. it displays its user interface as created. ( one text box and a command button )
following is the vb6 code for the activex control
Option Explicit
Dim displaytext_value As String
Private Sub Command1_Click()...
i have converted a fully compiled visual baic 6 project in to
vb.net solution using the conversion utility of visual studio .net 2003 .
The listview control on all my forms are missing in the .net project.
i haven't found anything in documentation of the compatibility issues related to the...
i have a form ( form2) , which can be called by any other form. all other forms have a sub test. depending on which form has called form2 , sub test is executed ( the procedure of the calling form ).
the code below works fine in vb6 , but equivalent vb.net code got problems.
==============
Vb...
thanks petermeachem , its working .
i am using SWP_NOACTIVATE . still the focus shifts from the other form. this top most windows only contain labels and don't have a title bar
i want to make a form ( mdichild=true ) as top most form in my application.
even if any other mdichild form is loaded , this topmost form should not hide.
i am using the api function , but no success ,
SetWindowPos Me.hWnd, HWND_TOPMOST, 0, 0, 100, 100, SWP_NOACTIVATE
Any Suggestions.
I am trying to create a new table in mdb file.
Here is the code
''**********************
Dim cn As New ADODB.Connection
Dim cat As New ADOX.Catalog
Dim otable As New ADOX.Table, ocol As New ADOX.Column
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\test.mdb"...
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.