Alter The Code To Show "152009" As "01052009" Notice The 0?
Oct 9, 2009
The following code returns the filedate as:
i.e.
"152009"
"1062009"
How can I alter the code to show "152009" as "01052009" notice the 0
Dim fileCreateDate As Date = File.GetCreationTime(strSourcePath)
Dim strImportDate As String = fileCreateDate.Day.ToString() & "" & fileCreateDate.Month.ToString() & "" & fileCreateDate.Year.ToString()
View 4 Replies
ADVERTISEMENT
Jul 9, 2010
How can I get delivery notice, opened notice and other info if possible of an email.
View 2 Replies
Feb 10, 2009
There is a label control on .aspx The text "hello" comes from database i.e. label1.text = "hello" Note that, I do not have permission to change the UI code.
I would like to alter the value of the field in the table to show the text as bold i.e. <strong>
To have the text displayed as highlighted i.e. bold, I manually modified the text inside the field of the table to show
<strong>hello</strong>
Is this ok? It does not seem to work because in the label control I see: <strong>hello</strong>
View 8 Replies
May 6, 2009
Is it possible to alter or add to the VB code through a form?
I have a combobox that has a list of over 3000 vendors. The edit list that comes with combobox will only hold a little over 1700 lines, so I used the combobox1.items.add to the (form1 events - load) code. Now I have access to all 3000 + vendor names in the ComboBox1. But if I design an add vendor form, how would I code it, so the vendor would be added to the bottom of the items.add list in the code?
View 1 Replies
Dec 9, 2009
there's an img src=blah on a web page that I am loading with a webbrowser control, and I want to alter it to say img src=blahblah instead ... What I've been doing so far is waiting for the document to complete, doing a .replace, then saving the file to the hard drive, and finally navigating to that local altered version.I was wondering if it's possible to skip the step of replacing and reloading the local page, and instead, just dynamically alter the original source code of the page AS it's loading the first time. Can this be done?
View 2 Replies
Jan 29, 2010
Mistakingly I have deployed an application on 20 laptops and discovered that one of the columns text size to 2 characters to small. How can I check and set this in code? If I can do it this way I don't need to get all the databases back and do it manually.
View 2 Replies
Oct 16, 2009
Ive created an email sender but ive run into a problem. It will only send mails to hotmail. How can i alter the code to make it send to all emails , yahoo , msn , gmail etc.? [code]
View 15 Replies
Jun 8, 2011
How do I do code a notice to Facebook. If it came a new message is activated. A particular event. I can use webbrowser?
View 2 Replies
Oct 7, 2010
I have been searching and trying for quite some time now but did not yet find the right way to solve my problem.Here is what I want to do:- open powerpoint with a file (an disable the UI of my app while it is opened)- make some changes to this file- save it with a new name- get notice when Powerpoint is closed (either by my app once the automatic changes are done or if the user quits Powerpoint)- enable UI once Powerpoint is closedThe notice is my problem. Is there an easy way (other than timers that check the process list) to get notice of when my started Powerpoint-Process is closed/quit?
View 1 Replies
Nov 7, 2010
How do you refresh a datagridview in code to show to show new data in the DB?
View 3 Replies
Jun 5, 2011
I have created an application using vb.net 2008 and for reports Crystal Reports Basic for Visual Studio 2008 but the problem is, when I run the application in another machine away from developing box, I get the Load report failed notice. I don't have any idea on how I should approach this issue. I tried installing the CRRedist2008_x86 and CRRedist2005_x86 but still the problem won't go away.
View 3 Replies
Oct 15, 2011
What is the code for Hiding a mouse and make it go back when going to
Desktop1.vb
Cursor.Hide()
works
Cursor.Show()
is not working when going to Desktop1.vb .vb its still hiding what am i doing wrong here is my code.
[Code]...
View 5 Replies
Jan 15, 2012
I have a label called 'Label1' on a form called 'Deck1Form' and I have another form called 'PlaylistForm' on this form I have a listbox with some data. I want to change 'Label1' on form 'Deck1Form' to the value that is currently selected[code]....
View 12 Replies
Dec 8, 2009
Is there a way to alter a specific row to a column?
Like i want to alter a row but not the whole thing only one column?
View 2 Replies
Jul 13, 2010
I don't know what I did now, but I managed to somehow have form1's properties show background color as black, but it is a light silver color and no matter what color I assign it, it will not change. right now form1 is empty of textboxes, labels, etc. There is code in it for my menu and the other forms.
View 2 Replies
Mar 30, 2010
Has found the project (program) which to me it is very necessary. But has faced стем that I can not alter it Under myself as not I wrote this project and in vb.net at initial level of knowledge.I ask your help, simply any more I do not know where will access.It is a little about the program: it is monitoring of a game server.In the program it is made the following: three items of review of the information on a server. Which operations can be called, at first to press on +, and then to press in a text appearance etc. options.Here a program picture: gsw1.jpg I would like to make in shape easier! Simply to create three leaves of review of the information Here an example picture that it would be desirable to make: gsw_my.jpg
View 1 Replies
Jul 8, 2008
Is there a way alter the window of a 3rd party application? Resize, Minimizie, Make Transparent..
View 14 Replies
Feb 12, 2011
I'm making this little exe where you fill in a few textboxes, choose a few items from a picklist, push a button and a new outlook-message appears with, depending on what you've chosen and filled in, different mail recipients, subject and body.I was wondering how I could alter the font from the body of the e-mail. I've been searching the internet for a while now and I think it's really specific.I was thinking of putting the text in a string (or something like that), alter the font of the string and then put the string as body of the e-mail, but even that is confusing.[code]
View 2 Replies
Jun 2, 2010
I have two columns of numbers that hold team scores for different events. I am looking for a OO way to Color the textbox of the team with the highest score in each event. I know the following will not do it (without writing a complex set of If Then Statements) but I think it might paint a clearer picture of what I am trying to do.
VB
Private Sub ColorWinner(ByVal crtl01 As Control, ByVal crtl02 As Control)
If CDec(crtl01.Text) > CDec(crtl02.Text) Then
crtl01.BackColor = Color.Gold
[Code].....
The controls are always going to be text boxes. So basicaly I want to determine the text box with the highest value and act on it without having to write a complex series of nested IF Statements.
View 2 Replies
Mar 1, 2010
I have developed small visual basic.windows forms application with VS2010 RC. I have a development SQL Server named RJHDEVELOP. I've added a data connection to this server and everything runs well. When I come to deploy it onto the factory server named CARRONSBS, how do I tell the deployment package I want to the dataconnection to be a different server name?
View 1 Replies
Jan 26, 2012
I have an automotive application that works well during the day, but at night the screen is WAY to bright. I saw somewhere (a long time ago) a way to alter the display brilliance.
View 5 Replies
Jul 6, 2011
I need to know if it recompiles my site at all or if there are any issues doing this. I have tested the changes locally and in a test environment and I don't want to do a full deployment for one tiny change. I'm just not familiar with aspx.vb files and how they interact with a website.
View 1 Replies
Aug 10, 2011
How do I alter the background and foreground color in a listview box. I tried this code but it does not seem to work.
ListView1.Items(x).SubItems.Add("Samantha", Drawing.Color.Black, Drawing.Color.Yellow, myFont)
View 2 Replies
Apr 13, 2010
altering the HTML that is displayed by my VB.net application using GeckoFX. What I would like to do restrict certain words/names/attributes from showing in the browser.
View 1 Replies
Nov 15, 2008
I am a VB6 programmer, and I have been trying to learn VB 2008. I'm making a web browser, which is going quite well... but I am having problems with my tabs.
1. When I load it automatically opens a new tab... but instead of opening it 1 it opens 2 new tabs.
2. I don't know how to get the address bar to alter which ever tab is loaded and not just the first one. Here is my tab code.
[Code]...
View 2 Replies
Nov 25, 2010
cmd = New OleDbCommand("ALTER TABLE " & ComboBox1.Text & " ADD COLUMN " & TextBox1.Text & " TEXT", cn)
Syntax error in ALTER TABLE statement.
View 3 Replies
Jul 8, 2009
I am trying to insert some data in my database. The destination table has a column named 'External' and one other called 'Internal'. these columns are identical except for the name. They are both yes/no type with the database created in Access. When ever I enter a new row I change the value of one of these columns depending on which I want to alter. When I try to alter the 'Internal' column I get no problem but when I try to alter the 'External' column I get a syntax error. I have tried the same query excluding the External column and everything works just fine. [Code]
View 5 Replies
May 9, 2010
Im looking for a code that will take me to a specific tab when i press the button.Right now im using tabpage1.show()But this will only show it on the same tab that im looking at i need like a instruction that take me to the desired tab.
View 4 Replies
Jul 2, 2010
I would be grateful with some help with reading a text file into a Richtext box. The code I have at present appends the first line of text as I want it but the rest of the lines of text do not alter. I need a loop to read to the end of file and display in Richtext box. the code i have at present is this:-
[Code]...
View 2 Replies
Dec 10, 2010
how to convert this code in vb.net to show only time instead of date and time in vb.net
Dim UTCTime As Date = Date.UtcNow
Dim IndianTime As DateTime = UTCTime.AddHours(5.5)
TextBox1.Text = IndianTime
View 5 Replies