- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 3
- Downvotes Received
- 14
- Posts with Downvotes
- 13
- Downvoting Members
- 4
I have connected VB.net and mySQL on a the same PC before, but I have no Idea how to connect VB.net to a remote PC(LAN) I've only changed the server This is my code. I removed some of the details, but it works on server=localhost [CODE] conn = New MySqlConnection() … |
|
Does anyone have any idea how to set the DateTimePicker's UpDown buttons to add/minus 30mins only instead of 1min? |
|
My [B]first column does not align to center[/B], although the sub-columns aligns perfectly [CODE=vb] Listview1.Columns.Add("Column1", 100, HorizontalAlignment.Center) Listview1.Columns.Add("Column2", 100, HorizontalAlignment.Center) Listview1.Columns.Add("Column3", 100, HorizontalAlignment.Center) [/CODE] |
|
hie how can i restrict the user to enter only numbers in a textbox |
|
Hello, I intend to execute a shell script from PHP using shell_exec() in a simple file as follows: [CODE] <?php $result = shell_exec('sh /var/www/script.sh'); echo "<p>$res</p>; ?> [/CODE] This fails to produce any sort of output! I have manually executed the script from the shell of the PHP web-server and … |
|
Hi, I am using the AjaxControlToolkit's AutoCompleteExtender without a Web Service(PageMethod). **It is working fine on my local machine, but AutoCompleteExtender won't work in the IIS but other AjaxControlToolkit does.** I've searched around but none applies to my problem. It is running in IIS-6, and Framework 4.0. **Heres my code:** … |
|
I am trying to populate an ArrayList using the elements from a DataTable. I know I could do this using Loop, but I am trying to figure out how to using AddRange. Here's my code: [CODE]SomeArrayList.AddRange(SomeDataTable.Rows.Item(0).ItemArray)[/CODE] The problem is that I can pass the collection except for the Zeroth element. … |
|
How can I get all the data in dropdownlist? For specific data, I encode: Dropdownlist.selecteditem.text. But how can I get all the data? Thanks in advance. |
|
Anyone can tell my why it keeps saving at My Documents? [CODE] $newfile = 'temp.xls'; $wkb->SaveAs($newfile); [/CODE] If I [B]echo[/B] $newfile, it will display 'http://localhost/test/excel/temps.xls' Its suppose to save it at same level right? wrong, it keeps saving at "My Documents" How is that possible? Thanks |
|
Is it possible to read and write excel files on PHP4? If yes, how? Thanks |
|
how can i compare a subitem from my listview1 to my listview2 subitem, like for ex. subitem(3)?? |
|
hi! ok i have a search engine. it works fine. only thing is that when i write something in the textbos i must click the button 'Search' with my mouse for it to start searching. what i want to do is write something to the textbox and hit the 'Enter' … |
|
ahmm, please help me. I want to update the items in listview when my form loads up. this is my code for the listview. It actually displays the data on the database but when i add another data it wont appear on the listview. please help me guys. I'll appreciate … |
|
Hello All. I am having issues with files on a network drive being moved - the file name always remains the same but the location changes. (users move it - much arrrrrrrgggggggg!!) Is it possible to search through all drives and paths to find FILEX ? I hope so as … |
|
How do you set the FileSystemWatcher.Filter to check only two files. Here's my code that doesn't even work. [CODE=vb]watcher.Filter = "*.txt|*.ini"[/CODE] Thanks Alot |
|
[QUOTE]Hi; I have developed a MCQ based learning game. A user has to play the game repeatedly to improve his learning. For each session of game, player gets score. I want to write the score in a single file for every session. e.g. I want to print user name and … |
|
Can anyone tell my why the code... [CODE=vb] Form1.Controls.Remove(myCustomControl) [/CODE] ...does not remove the control. Because whenever I remove a control and add it again, it does not Load but rather just changes its visibility from false to true and all the variables are not reloaded. I tried to use … |
|
How do I curve the edge of a User Control? |
|
[QUOTE]Hi I need help to center a label with a form. I have tried with the following code but was unsuccessful. [/QUOTE] [CODE]Me.Width = 135 Me.Height = 38 Dim w As Integer = Me.Width / 2 Dim h As Integer = Me.Height / 2 Dim lblw As Integer = Me.lblnumber.Width … |
|
I'm a graduating IT student, proficient in software development and website development, I can also do networking administration. But I prefer software development, second would be website development. I am deciding whether should I: [LIST] [*][B]advance to a full-time on Master's degree[/B] OR [*][B]advance my career/experience in the work place[/B] … |
|
Hi guys , how can i save some texts from textboxes into a word in a listbox so when i will reopen the program i will continue having the save? Regards, xVent. |
|
Using VB.NET I am using Combobox, when i select the value in combobox, the date value should display in datetimepicker where date = combobox id vb6 code [CODE]cmd.CommandText = "select distinct Name from T_Person where personid = '" & txtno & "'" Set rs = cmd.Execute While Not rs.EOF If … |
|
How do I Load an excel file to the PrintPreviewDialog? [CODE=vb] Imports Excel = Microsoft.Office.Interop.Excel Private Sub btnPrintPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintPreview.Click Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook xlApp = New Excel.ApplicationClass xlWorkBook = xlApp.Workbooks.Open(Application.StartupPath & "report_summary.xlsx") MyPrintPreviewDialog.Document = xlWorkBook If MyPrintPreviewDialog.ShowDialog() = … |
|
I have a project with more than one form and I move between them with a button click that hides the current form and shows the one I want. But what is I want to perform some procedure each time the form is shown? I tried this code on my … |
|
I put some variable declarations in the module of my project. Of the six variables, two of them remained unavailable to the code on the form... I got an error message. Those two, which are within a FOR...NEXT loop have to be declared in the form code for the thing … |
|
[COLOR="Green"]How can I use [U][B]wildcard/s[/B][/U] for the attachment filename. Part of the filename changes but the characters 8 and 9 (counting from the left to right) always present and always either [COLOR="Red"][B]LK[/B][/COLOR] or [COLOR="Red"][B]KL[/B][/COLOR]. Currently files are PDF type, thus with extension [COLOR="Red"][B]PDF[/B][/COLOR] but might be different in the future … |
|
I want to use more than one form in my project and be able to code a button or something that will do that. I tried this on Form1 and it worked. [CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'Goes from this … |
|
Hi all i need help with save settings. Ho do i do this ? RadioButton3 RadioButton4 Are Blank so when 1 is clicked and button1 is clicked then it will save. so if i close and open the dialog3 it have to be the radiobutton i selected Same as TrackBar1.value … |
|
Hi guys. First time im using this site and i really hope you guys can help me...OK here goes. I need help on a multiform program I am working on, the program is quite simple but i need some help from you guys concerning the login form. Ok, i need … |
|
I know it is as simple as it is, I've search around the internet and I came up with nothing. Maybe I don't know what to search for. Basically my datetimepicker format is set to year only. My string is "2009" I want the datetimepicker-year to set as the year … |