Log In To Lockerz.com Programmatically
Dec 14, 2009I can't figure out how to log in to the website in the title and retrieve the amount of points the user has.
View 22 RepliesI can't figure out how to log in to the website in the title and retrieve the amount of points the user has.
View 22 RepliesI have a few tabs in my form. On each tab the user has to enter some information like selecting a time. If the user exits the form but the first time is bigger than the second one, then I want it to display a message and stay on the first tab. The code I currently have is this:[code]Perhaps it's the deceleration that I may need to change from Leave to something else.
View 5 RepliesI'm trying to dynamically add results to this display and I simply want to put a break tag after a label to start putting information on the next line. For some reason, Using a literal isn't working for me. Is there a better way to do this or should I just use tables?
Dim break As LiteralControl
break = New LiteralControl("<br />")
divListenerInfo.Controls.Add(break)
That's part of the code that I'm attempting to use.
Let me clarify what I said:
It's not working as in the line break isn't showing up on the webpage. It's compiling fine and there is nothing wrong with the code. It just doesn't show up in the html for some odd reason.
I want to add row to datagridview programmatically with this [code]...
the error i get is : Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.
the datagrid is not data-bound. i used the same code in another form and it's working.
I need to deploy my vb.net application via group policy. I found some information on how to do this here
View 2 RepliesVisual Studio comes with Wizard that converts vb6 code to vb.net. Is there are any way to call this conversion via code?
View 3 RepliesBelow is the code I am using to attempt to schedule notepad to edit a file. It gives me a system exception saying it cannot find the file I passed it (CityNames.txt). If I take the file name out, notepad comes up ready to go. What am I doing wrong and is there a better way to do this? I am using VS 2005 VB.Net
System.Diagnostics.Process.Start(
"C:WINDOWSsystem32
otepad.exe C:Program FilesDropMasterCityNames.txt")
In Vb 2008,DataGridView Witout Datasource Link......
Private
Sub DataGridView1_CellEnter(ByVal sender
As Object,
[code].....
got myself a bit stuck here
Private Sub tbMisconfig_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tbMisconfig.Click
Dim SelectedTabName As String = tbMisconfig.SelectedTab.Name
[code]......
Have actually managed to create a UserControl complete with buttons, windows media player ... Right-Clicking in the toolbox I browsed to the dll and that brought the control into the toolbox successfully as VideoSourceControl.I can drag/drop this control onto the form and it is fine, buttons etc looking good. Now I want to create it programmatically - I actually want to refer to an array of them.On the form load I have
Public mySources() as SourceVideoControl and I get an error saying that 'SourceVideoControl is not defined'The dll that I loaded was called VideoMixerControl.dll?
Is there a way to programmatically change a tool tip once it has been set in the IDE properties or in other words, at run time? I want to change the tool tip data for each customer that is selected in a combo box.
View 4 RepliesWhy is this code not working?
[code]...
I have a Tray icon in my application. I am showing the balloon tip for 20 seconds, when I am loading something in the background. But, if the background load gets completed early, say in 10 seconds, I would like to hide the balloon tip. Currently the only way to hide the balloon tip is to click the close icon in the balloon tip.
[Code]...
how can I move the cursor using code in vb.net? I can't seem to find the proper method....
View 1 RepliesIt seems that when I'm online the following code I see is used interchangeably:
Dim x As Button
Dim y As New Button()
or even
Dim z As New System.Windows.Forms.Button()
Does it matter how I declare the variable?
I am using visual studio 2008 coding asp.net.vb..I have 20 images on my site, the image holders being named picbox1 picbox2 picbox3 picbox20.I want to be able to address each picbox programmatically; pseudo code would look something like this [code]
View 2 RepliesOn a web page, I want my VB program to programatically add text, a text box for input, and two or three command buttons, maybe a checkbox.
View 2 RepliesI know how to add menu separator in under UI, but how can i add it programmatically.
View 3 RepliesI have a form and a database. Each time when the user add in new product to the database, I want to create a new button with the new product name on it and an onclick event added automatically to the new button. And how do i align the button properly one after another in the form ?
View 3 RepliesI want to add Add resources to vb.net programmatically . I want to add an image resource (a .jpg image file) .
View 2 RepliesSo I'm creating this app that will install SQL server 2008 express, add some SQL users and then import a database.
Is there a way to create users for SQL express in Vb.net?
My Application is built to a scan MS Access database in VB.NET.When the Access application is distributed to end users, they may have different versions of COM components. Is it possible to Add/Remove references programmatically to resolve broken references due to differing versions
View 2 Replieshow I can add a Month control to appear in the centre screen when I click a button?
View 1 RepliesI'm looking for adding a control on top of others controls during runtime.
I read that the only way of playing with the Z-Order of controls is by playing with the order of the controls inside the Form.Controls Collection. I find this solution very weird and weak and I'm looking for an alternative.
Does anyone has an idea? I just want to make some kind of modal dialog that'll show below another user control to notice the user that the user control is currently doing something.
Edit: I tried using Control.BringToFront() but it doesn't work at all.
I have attached the 2 docs here which explains wht prob i m facibng in my proj its just piece of code out of my big proj.
How to change a particulr value of one text box control of one particular form from another form?
Changing .EXE Icon Programmatically
View 9 RepliesI want to write a utility to register and unregister dll's. So far I have not been successful in checking if a DLL is registered. Can anyone give me any pointers or sample code in vb or c#?
View 9 RepliesI am trying to figure out how to programmatically clear the Immediate Window. My plan is to add the code to a macro that will run everytime the debugger starts so I can start with an empty Immediate window.I used SendKeys to do this in VB6 but it doesn't work in DotNet 2005.It throws up a messagebox saying that "SendKeys cannot run inside this application because it is not handling windows messages. Either change the application to handle windows messages, or use the SendKeys.SendWait method".
View 7 RepliesI have to create an auto installer, which create database at installation time, i created sql database script file and add in vb project. Now i want to read and execute this script file
View 6 RepliesHow can I create an icalendar file with minimum data, I try to make it as the following but somethings wrong, when I try to import to my Google calendar, it says Events successfully imported but I cant see those event on my calendar
strResult.Append("BEGIN:VCALENDAR" & vbCrLf)
strResult.Append("VERSION:2.0" & vbCrLf)
strResult.Append("METHOD:PUBLISH" & vbCrLf)
[Code]....