.net - Error When Rolling Out Software Revision To Terminal Sessions Instead Of Desktops?
Nov 15, 2010
I'm doing some maintenance on some software originally built by my predecessor at the company (who has since moved on to greener pastures). I'm currently rolling out a new version of the software. At this company, the installation procedure is basically to just shove the /bin/Release directory out into our automated program updater's magic directory, allowing it to automatically copy the contents of that directory over to the local /Program Files/ and let the magic happen. The magic always seems to happen, so there's no big issue, there, although it does weird me out somewhat, after many years of .msi installers...
[Code]...
View 2 Replies
ADVERTISEMENT
Oct 31, 2011
I'm trying to create a game that involves rolling a dice. When I load the program and click the btnRoll button, the dice works fine and stops after a random number (between 10 and 20) of face changes. It then records the score in the a new line in a ListBox. Only problem is, when I press the roll button again, the face only changes once before recording the result.
I have tried creating a separate program that simply rolls the dice without recording the result, and it works fine. So I used roughly the same code in my game, but it still won't work. I have tried looking online for help for a few days now, so I figured this would be a good time to ask here.[code]...
View 8 Replies
Feb 19, 2010
I have an application that will run on a terminal similar to a micros terminal. The terminal is already running another vendors app that captures the users logon ID from a swipecard. I need to capture the same logon ID at the same time. This is no problem, I just hook it.
The problem is I have another app which also captures swipes. In development I am running both apps for testing. It appears that when I unhook one app it unhooks both. Rehook and all is fine. As my two apps will never be on the same terminal this is not a problem. What I am concerned about is the vendors app unhooking mine or the other way around.
I would of thought that each app would have it's own ID and that each hook would be independent. I have considered finding a way to determine if a global hook is present and then use some logic to decide on unhooking or not but can't find anything.
View 1 Replies
Dec 8, 2010
my project work on server if inserted data from terminal A i need display the data on terminal B
View 1 Replies
Mar 11, 2010
I have a VB6 app using MS Access2003 database ODBC connection in Windows Server 2008my connection string is simple ODBC-- DSN=hotel -- using Microsoft Access Driver (.mdbusing admin user - i can run all forms on windows server 2003 successfullyusing other users - i get "permission denied error 70"I have 2 problems,1- cannot use software in terminalservices using remote desktop to server @Windows Server 2008i have 10 machines connected using Remote desktopfor a limited user, >> permission deniedif i cange the limited user to admin >> things work but ONLY FOR THAT USER!ALL OTHER USERS THEN HAVE PROBLEMS WITH THE SOFTWARE, some exit, some cannot fetch data, etc.
View 1 Replies
May 17, 2012
I have a DotNet 3.5 Winforms app. Mature app working well. It is a desktop client side application. One of the forms I've recently modified to include a picturebox which shows a standard gif animation.Running the application(and displaying the form with the picture box) works as expected on on Win XP + Win 7. i.e. the gif animation plays.
However running the same application on Windows 2003 or Windows 2008, I get the form loading but not animation in the picturebox, just static image.At first I thought it was because I was accessing the server via Remote Desktop but I did the same with XP, yet that still had the gif animating. Oh and I can play a gif using Internet Explorer on the servers.
View 1 Replies
Dec 4, 2009
I have an application which is running off multiple user desktops (app is in vb.net/vs 2008). The application pulls its data from an SQL 2005 Server (which holds all of the main data tables as well as a bunch of reference tables). So for different projects, the application pulls in data from the main tables... ie, Project ID, Project Cost...and so on.. The data is contained by ID's and when the data is imported into the application, the look up tables are used to convert the ID's to names.. so instead of project ID, the user would see the actual project name. Before the data is written back to the db, it is converted back to ID's ... anyways, there are a bunch of these look up tables, (for vendors, different expenditure codes, projects, sub projects.
[Code]...
View 3 Replies
Jun 1, 2012
[i][b]I have always developed apps for desktops with an access database on one server for one company or sql server. I had one connection string. Now I am in a situation with multiple clients using my software on their own server. This means different connection strings can anyone suggest an efficient way to do this without changing connection strings for each server throughout the application?[/b][/i]
View 1 Replies
Oct 10, 2007
I just want to know if the following behavior is by design. I start Visual Studio and open my VB project and rebuild it. The assembly version is set to 1.0.*. I get a version number of 1.0.2839.26817. Now as long as I keep visual studio open every time I rebuild, I get the same build and revision number. I have to close and reopen visual studio to get the revision number to change. Again I just want to know if this is by design since everything I have read says that the revision number is either supposed to be random or the number of seconds since midnight. Is there a way around this?
View 3 Replies
Dec 5, 2008
While versioning a .NET 1.1 assembly using Visual Studio 2003, is it possible to generate one without build number and revision. I would want just the major and minor version.
View 1 Replies
Aug 23, 2010
When you right-click on a file and select the property information for that file, in the Summary tab, there is a listing of various properties for that file.(Title, Category, etc)Is there a way to access that particular property data from Visual Basic?I'm specifically interested in trying to access the Revision Number property of a given file.
View 2 Replies
Feb 5, 2012
I am using Git for source control on a .NET project. Is there any way to include the current Git revision number in my EXE upon compile time?
I'd like to be able to have the revision number available for an "About" dialog, or similar. Perhaps there is a way to update Settings.vb right before build?
View 2 Replies
Aug 16, 2010
I am having troubles on what each of these mean.Mayjor, Minor, Build and Revison mean.I found a link to a topic like this, but I totally did not understand it.how to I apply the version details? I went to the properties of my progect and when to the publish tab, and set it in there, but when I right click on my application, it still always says, 1.0.0.0.How do I make it so it will say the version that I have it set in the publish tab?I am not publishing them to the internet,I don't have and FTP or what ever you need, plus I don't think there is a point to publish my programs, they are low level compared to everyone else who programs.
One more thing.If I want to make it so the application is done for that version, and is ready to be used on other computers, should I just use the app that is in the debug folder, or should I build it, then use the one that would be in the release folder, or is there something better that I should do?
View 6 Replies
Nov 23, 2010
I have a VB.net 2005 project MyProject.exe which is referring to a strong named dll ReferenceDll1.dll in its references. The ReferenceDll1.dll is referred as Specific Version=False. The version on the strong named reference ReferenceDll1.dll was 1.0.1.2 when I compiled my project. Few days later, I got updated ReferenceDll1.dll as 1.0.1.3. Replacing this dll in the install directory fires following exception.
System.IO.FileLoadException: Could not load file or assembly 'ReferenceDll1, Version=1.0.1.2, Culture=neutral, PublicKeyToken=0242eaa067ef8af5' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
[code]....
View 2 Replies
Apr 7, 2011
I would like to have some sort of percentage on the amount of times each button has been pressede.gButton 1 is pressed 5 times, button 2 is pressed 3 times, button 3 is pressed 2 times.I would like this to create a percentage output onto the same form that is updated everytime a button is pressed on the form.
View 5 Replies
Sep 14, 2010
I'm calling a third party stored procedure in Oracle from VB that is not rolling back.
Code first (I'm simplifying):
Connection string:
String sqlstr = "SERVER=x.x.x.x;Database=db;uid=sa;pwd=admin;Connect Timeout=60; Min Pool Size=5; Max Pool Size=100;";
The call (I've just forced a rollback immediately after the execute to test it):
Dim Oraclecon As New OracleConnection(_OracleConnection)
Dim sqlCon As New SqlConnection(_SQLConnection)
Dim oTrans As OracleTransaction = Nothing
[Code.....
I can't give the details of the stored procedure but it does a commit and rollback inside it.
Either way, it is doing an insert, and that immediate rollback does not rollback the insert.
View 2 Replies
May 10, 2009
However in my opinion they require a lot of prior knowledge on how to programatically refer to each item.
Does anyone have a link to or can create a relatively basic example of how to achive a running total in the footer for an ASP:Gridview?
View 3 Replies
Jun 17, 2009
I'm trying to calculate the rolling average in a crystal report. I have got 4 weeks in a month, and I have calculated the average for each week so long. Now I want to calculate a rolling average. eg:
For week1: rolling average = (week1Average)/1
For week2: rolling average = (week1Average + week2Average)/2
For week3: rolling average = (week1Average + week2Average + week3Average)/3
etc.
The problem with the code below is that, it is not looping through,therefore the rolling average for each week is the same as its average value wich is not correct.
Dim i, weekNum as number
Dim tot as double
weekNum =Distinctcount({ItemRating.WeekNo})
[Code].....
View 1 Replies
Mar 23, 2011
I have one multi-row INSERT statement (300 or so sets of values) that I would like to commit to the MySQL database in an all-or-nothing fashion. insert into table VALUES
(1, 2, 3),
(4, 5, 6),
(7, 8, 9);
In some cases, a set of values in the command will not meet the criteria of the table (duplicate key, for example). When that happens I do not want any of the previous sets added to the database. I've implemented this with the following code, however, my rollback command doesn't appear to be making a difference. I've used this documentation: http://dev.mysql.com/doc/refman/5.0/es/connector-net-examples-mysqltransaction.html
Dim transaction As MySqlTransaction = sqlConnection.BeginTransaction()
sqlCommand = New MySqlCommand(insertStr, sqlConnection, transaction)
Try
[code]....
I get the DUPLICATE KEY exception thrown, no Rollback Exception thrown, and every set of values up to duplicate key committed to the database.
View 1 Replies
Jun 11, 2011
if one installer class in my project and in custom action doing some procedure to validate the serial key using user interface editor during setup creation. while installing the set up if the condition is not true the setup in rolling back it is installing.
[Code]...
View 1 Replies
Sep 11, 2011
I have a certain problem with 2 number generators that I have. My problem is that I want them to act individually. To where they seperatly come up with a random number. Mine is from 1-6 for 2 random number to simulate the rolling of two 6 sided dice. The problem that I have is that when I run the program they always generate the same number no matter what that number is. When I step through it step by step while the program is running in the debug screen they come up with a different number. This is in visual basic 2010 express edition.
Private
Sub
Button1_Click(ByVal
sender As
System.Object,
[Code] .....
View 3 Replies
Sep 20, 2009
when I generate my <appname>.exe file, the summary properties fields are all empty. There must be a way I can add this, but I haven't found it yet. I am running VisualBasic .Net 2003 standard edition.b
View 10 Replies
Apr 9, 2010
Coming form too many years of VB6 I have a natural inclination to write my own data access code, etc. rather than using database wizard, etc. Same goes for using simple databinding to recordset rather than managing object collections and tying those to controls
I am finally moving to VB.NET and find myself on a solo project without any team on which to lean, so I have a couple related questions as I try to get my head around the transition. The project is basically a line of business app with a SQL Server back end.
1. Are the data designers/wizards so good now that rolling your own is no longer worth while?
2. Is the data-binding now fast, flexible, and reliable?
3. Can you recommend a good book or robust on-line tutorial that covers this sort of programming? 2008 or 2010 preferred.
View 1 Replies
Dec 17, 2008
So my question is, I'm wiriting a VERY basic dice rolling program for my computer programming class in high school. I'm using a randomize function to generate numbers but I only want it to do numbers 1 - 6....how do I do this?
Dim x As Integer
Randomize()
x = CInt(10 * Rnd())
Dim Y As Integer
Randomize()
Y = CInt(10 * Rnd())
That is my code for my x and y (each die) to generate code, but how do I make it do 1 - 6 ONLY? Develope a game that in which a player rolls two dice. Each die has 6 faces. Each face contains 1, 2,3,4,5,6 after the dice have come to rest the sum of the spots is calculated, if the sum is 7 or 12 on the first throw, the player wins. If the sum is 2,3, or 11 on the first throw, the player loses, and the house wins. If the sum is 4,5,6,8,9,10 on the first throw the sum becomes the player's point. To win, a player must roll the dice until the plater rolls the point value. The player loses by rolling a 7 before rolling the point. I also have another question, How would I set this up to keep up with points and stuff? and the part that says "The player loses by rolling a 7 before rolling the point." I have no clue what to do on that. I'm not asking for code hand outs. I'm just asking what functions and such I'd use to write the code.
View 6 Replies
Apr 13, 2012
I am trying to upload images using generic handler as shown below and I have a normal aspx page where I am showing all the uploaded images after uploading.Everything is working fine.
CODE:
Now I want to add a session variable by generating a random string and add the uploaded images to the newly created random string.
1.I have seen this Question on SO to use System.Web.SessionState.IRequiresSessionState for sessions and how do I create a folder with that and add my images to that folder after doing that how do I access this session variable in my normal aspx page.
2.(Or) the better way is create session variable in aspx page and pass that to handler?If so how can I do that?
3 .I am trying to find the control from my handler.Is that possible?If anyone knows how to get this then also my problem will get resolved so that I am trying to create a session from m aspx page.
View 1 Replies
Oct 5, 2009
procedure to create multiple secure user sessions in ASP.net.
View 1 Replies
Feb 25, 2011
As a followup to the previous question I have asked "ASP.Net Architecture Specific to Shared/Static functions" I am still struggling to understand the implications of using shared methods in ASP.NET.
So for example let us take the following code.[code...]
View 3 Replies
Aug 23, 2011
I'm using an Entity Framework context, and sometimes would like to create a transaction so that the client can do multiple changes and then commit/rollback them all together.However, if many changes were made, and SaveChanges() was called multiple times, after which a rollback is called, entities that were commited already, will remain the way they were commited, and would not roll back.Here's how my transaction-relative functions look like:
Public Sub BeginTransaction()
Dim context = HttpContext.Current.GetObjectContext()
If Not context.Connection.State = ConnectionState.Open Then
context.Connection.Open()
End If
[Code]...
Not only does the test fail, but it also leave the ObjectContext in an unstable mode, because it still has invalid changes in it.
View 1 Replies
Dec 6, 2011
Even after numerous attempts, im unable to set different sessions for multiple webbrowsers (in tabs ) hosted on the same windows form.
So far, i have tried the following methods (and failed)Created a new form for each session (The WebBrowsers share the session)Used HttpWebRequest,HttpWebResponse to get and set separate sessions for each webbrowser ( Couldn't implement this properly)Could someone please point me out to a proper channel on how to implement this ?
View 6 Replies
Apr 10, 2009
When I start working on a Project I like to change the size of the Properties Window. (I like to make it taller than it is by default). But each time I start a new Project the Properties Window goes back to the original shape/location. Is there a way that I can customize the layout of that window so that the shape is retained across sessions?
View 6 Replies