Code To RebuIlt All Application At Run Time?
Dec 10, 2009
REASON : my program have many projects , and some of them relative about interface . If i change one , but when i call this from other project then, the change won't affect. and it takes several times , it may work.
View 2 Replies
ADVERTISEMENT
Nov 26, 2010
I've been trying out VS2010 and noticed that the Find and Replace dialog box was extraordinarily wide. I resized it (smaller) but it always seems to get wider. At first, I though it was designed to be that way. Then, I noticed the same problem on a control I created in a project. Whenever I rebuild the project the Find and Replace dialog box widens if it is closed and then reopened.
A samiliar thing happens with the control at design time. The control has a panel docked to its left side. It went from a width = 40 to 52 after a rebuild, the next rebuild changed it to 68, the next time it went to 89. Well, you get the idea.
Is this a bug in VS2010's IDE? I've side-stepped by resetting the panel's width at runtime but, obviously, this should not happen.
View 2 Replies
Nov 27, 2009
ive been wanting to put some kind of self destructing code in my application that deletes itself after a given period of time. (like 2 weeks)
View 3 Replies
Jul 19, 2010
Is there any way that I can prevent a designer class from being rebuilt when running my project? The designer class is a webservice reference with over 30000 lines of code and appears to be being rebuilt almost every time I run my project. (Which obviously takes quite some time)
Is there some explicit way I can prevent Visual Studio 2010 from rebuilding this class each time I run the project?
View 2 Replies
Aug 28, 2010
I am working on a windows application project on NIST time synchronization, but can't get a proper solution for it. If anyone can send me the code to synchronize time from the global time server in VB.net or C # code
View 2 Replies
Jul 20, 2011
I have a problem and i can't find it, i'll explain on the codeThe first time it runs without errors but, the second time...lista is a ListView
Dim l As New List(Of String)
Sub LoadData(ByVal user As String)
lista.Enabled = False
[code].....
View 3 Replies
May 19, 2010
Is it possible to access Application Properties of my applicaiton in run time ? Please refer the below attached image (I want to access the Title and Category properties in my application)
View 5 Replies
Jul 5, 2011
what is the different writing code application vbnet 2005 application for single user and multiuser?
View 3 Replies
Jun 10, 2010
I have these codes on my program, and I would like to have a time out between each code, is that possible ?
SendKeys.Send("hhhhiiiiiiiiiiiii")
SendKeys.Send("Babe")
SendKeys.Send("I am offline right now")
[code]....
View 1 Replies
Dec 29, 2009
I would like to run a code every 1 minute ,15 minute etc Is there any better way than following put in the timer control with time interval 1 sec. A c# solution is also ok.
[Code]...
View 5 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
Dec 8, 2010
How do you get the directory of the source code at run-time?
I want to 'hang' some data directories below the source code directory, but have multiple copies of the source code directory for test, release, and development.
View 3 Replies
Nov 13, 2010
i have to create a xml editor in vb.net.i have to validate xml code if there is a error in the syntax it should be displayed in a another textbox.. validation should be done while typing the xml code itself.. the error should be while typing xml coding in run time application . i should get the syntax while typing the xml code in run time itself
View 1 Replies
Dec 15, 2009
i know in java and other nice languages it's possible to comment out a bunch of lines at the same time. is it possible to do this in vb.net?
View 5 Replies
Sep 19, 2011
i have been looking for a code to change date time in kernel32, which is I will get a date time from server and update current PC date and time based on server date and time.
[Code]...
View 3 Replies
Oct 13, 2010
I've been building tools for ArcGIS. Part of ArcGIS is toolboxes which is basically a collection of tools bundled together. I know how to make toolboxes, but the code I have runs within Arc itself - ie. currently it only runs when you actually start Arc up and run a tool which makes the toolbox.
In theory the code should be able to run outside of Arc and ideally I want it to run at compile time. I know you can run executables as pre and post build events when building the installer so I was thinking I could make it build the toolbox as part of one of these. Catch is, the executable code would need to have access to the compiled files of my project (it needs a link to each tool to build the toolbox) so I can't make the executable in a seperate project. The current project is a class library. Is there a way to run code within my project when building the installer?
View 2 Replies
Jan 25, 2012
I'm reading about the WPF Navigation Services and I have a general question.At run-time I want to be able to parse an external XML file that has information about an UI (i.e. a series of screens) and then in the code-behind create a WPF Navigation service with multiple Pages. Is it possible to create a new WPF Page at run-time or do they have to be created in Visual Studio first?
View 1 Replies
Dec 14, 2011
I have here a code
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
mycommand = New MySqlCommand
Dim daMyName As New MySqlDataAdapter
[CODE]......................
The bold part is my problem. its about date time picker. there is no error but whenever i choose a date that was handled on the specific day, there is no data displayed in my excel file with the selected date. but in my database, there was a ticket handled on the day that i picked.
View 2 Replies
Dec 15, 2011
Here is my code to input date-time using InputBox with default date-time = today at 9 pm I thought others might be interested or suggest improvements
[Code]...
View 1 Replies
Dec 22, 2009
How do i disable date - time properties in Windows 2000 or XP from vb.net code?
View 1 Replies
Feb 19, 2009
I'm currently writing a countdown timer on vb 2005, with the following characteristics: When I press a button and the timer is running, it adds time to the counter, for example, if the time is 2:30 and I press a button, and the period to add is 1:10, the new time would be 4:40. The window is always on top of every other window, and is active even though it doesn't have focus. When the time's up and i press a key, in this case Esc, the application closes, otherwise, it just continues. [Code]
View 5 Replies
Feb 16, 2009
How can I get the time that a piece of code toke to execute ?
View 3 Replies
Dec 30, 2010
I am building privilege module.
And i have a table to store privilege and vb_code as the following
privilege: frmStaffCreate
vb_code: frmStaffCreate.visible = True
How to make the vb_code string to be runable at run time?
View 5 Replies
Jun 6, 2012
I'm trying to code to run 2 instances of the same client at the same time.Using a simple form with a button with system.dyecnostic.process.start(program path) to run the instance to start with.Now the problem starts with trying to run a second it just loads and closes and sends me to the first. how to negate this so I can get 2+ of the clients up?
View 3 Replies
Jun 3, 2011
I would like to set my application to show system under maintenance if it hit the start time until the end time which i set in the xml (24 hrs). How do i code it. [code]
View 3 Replies
Nov 13, 2009
how to display time in my application ?
View 3 Replies
Mar 20, 2011
I have tried searching for the anwser however all I picked up were questions about time out errors. In my program I would like to implement a feature that say after 5 minutes of inactivity the program closes?
View 4 Replies
Aug 20, 2010
I have just done my program, just skeleton not completely, the final problem has not been solved up to this time.When I run my application, the Icon of its will be showed at TaskTray. I would like the icon is there when I exit fom of application and then If I double click on the Icon, the application will be showed.
View 5 Replies
Jan 20, 2010
The documentation for an API I am using explicitly says that I need to call close() on an object when I am done with it. I would also like to log something there.I understand GC, might not happen at expected time, etc. etc. I still want to implement some code at cleanup.I read that I need to Override Finalize() to do this.I wrote a console app to test and it looks like it indeed works.However, this does not work with windows forms. I put a break point and it never gets hit in the Finalize method.How do you add some code to be executed at cleanup time for a window form?Here is my console app test:
Public Class Foo
Public Sub New()
Console.WriteLine("In Foo Constructor")[code]......
View 2 Replies
May 23, 2011
if i using with AxWebWrowser how i can add tags to source code of the page in running time (Make a changes on site)i want Highlight "this is the text" so for example:
[Code]...
View 9 Replies