Application Targetting FW2 Appears To Require FW2SP2 Occasionally?

Mar 13, 2012

I have an application written in VS2010 that targets FW2.0..It has no dependencies other than the framework.The application runs fine on the local drive.But one user tells me that he already had FW2.0 installed but had to install FW2.0 SP2 in order to get the exe to run if it was placed on a network/shared folder? Why would running from a server/shared folder make the application crash if Sp2 wasn't installed? some network/path error that was was fixed in SP2 that doesn't affect the app when running off the local C drive ?

View 1 Replies


ADVERTISEMENT

Create An Occasionally Connected Application?

Mar 30, 2010

I'm trying to teach myself how to create an Occasionally Connected Application. I want to create a simple app (like a survey) that will store all the data on a server but have the front end run on the users computer. The users computer may or may not be connected to a server when the data is entered (they may be collecting data in the field).

Program does 3 things:

1. Shows data from database (ie, displays survey data stored on server)

2. Saves data to database (ie, new entries or changes to old entries)

3. Has a background thread that checks for network connection

a. If no connection exists:

i. Gets data, to show, from local database

ii. Saves data to local database

b. If connections exists:

i. Sync local database with network database

ii. To read data: Gets data to show from local database which is now synced with network)

iii. To save changes/new entry: Save changes to local database then sync changes with network, then send update call to anyone else running this app on a different computer so they will get the same changes?

View 3 Replies

IDE :: ERROR - Creating An Occasionally Connected Application

Dec 3, 2009

I get this error while im following the "Walkthrough Creating an Occasionally Connected Application" [URL]

Im already in the " To configure tables for local caching" > step 4.

Then when trying to connect this error pops.

"Failed to sync database" <a href="http://tinypic.com" target="_blank"><img src="http://i45.tinypic.com/ur3fq.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

[Code].....

View 1 Replies

Why Does Application Require UAC Rights

May 20, 2011

Never before did i realize the neccessity to scrap the User Account Control, other than for reasons it was simply annoying, until i became a developer. I have an application that does nothing more than remove and create files within its own directory. Are you telling me every application that creates local files require admin rights? Surely something is wrong here. Can this not be circumvented? How do other developers overcome this issue?

[Code]...

View 1 Replies

VS 2010 .net 4 - Application Seems To Require .net Framework 4 To Run?

Nov 1, 2010

My application seems to require .net framework 4 to run. Hence not working on standard XP installations until .net 4 is installed. How do I make it so that it only needs 3.5, or whatever XP uses natively?

View 5 Replies

Does Referencing The JDK Namespaces From Within A .NET Application Require The Java Runtime To Be Installed

Sep 14, 2009

I'm in a VB.NET application. I have referenced some java.* namespaces in my file and am utilizing objects and methods from this namespace throughout the code. Presumably this is relying upon J# to compile.

Imports java.util
Imports java.util.zip
Imports java.io

Are these JDK namespaces fully contained in the .NET framework, or will my clients need to have Java installed when they go to run my application?As a side note, I have not explicity referenced any external Java DLL's or anything. This is all pure .NET as far as my code is concerned.

View 1 Replies

Make Application Require A Serial Key - Prevent Jumping Messages

Aug 24, 2009

Im going to make my application require a Serial key(No clue how this works). And how do i prevent jumping messages. My friend said that there most used for getting keys and avoiding key asking.

View 5 Replies

Targetting PictureBox In 2D Array?

Nov 8, 2011

I have a PictureBox array that creates a 10,10 grid of pictures, how can I taget one of those pictureboxes?

Public Class Form1
Inherits System.Windows.Forms.Form
Dim active As Boolean = True

[Code].....

Im trying to check if the picturebox up one, and left one's tag = True to += 1 the counter.

View 2 Replies

Unable To Get Multi-Targetting In Visual Studio 2010?

Jul 27, 2011

I got acquainted a few months back with Microsoft visual studio 2010 and .net.I tried my hand to learn the programming language. I have come to the level of developing the application and making it to run in the development PC as intended."The problem is i am not able to target a specific .net version(3.5SP1) and create a deployment package to work in the target PC running Windows 7"Instead of taking the whole developed application for deployment, I created a new Visual basic project with just a single form and created a successful build of it.In project properties- advanced compile option my target framework is .net 3.5, target CPU X86.

View 1 Replies

Unable To Click A Button On Application And The Start Menu Appears?

Jul 27, 2011

I want to be able to click a button on my application and the start menu appears where I've clicked. This (if possible) will replace my shell.exe. I know that with EmergeDesktop, you can show the start menu by right-clicking the desktop. How do you do that?

View 2 Replies

Application appears On "AddorRemove Programs"?

Jun 3, 2012

I have developed a small application with VB.Net 2010 Express Edition. After that using the project properties I have generated setup files to give others to use it. when other users installed that application, the installed files are not located at C:/Program
Files but the files are at C:/Documents and settings/Local Setting/.......................... But anyway to uninstall, the application appears on "AddorRemove Programs". That's good part of it.

Why the installtion files are not comes under C:/Program Files? How to control the Installation Process? Is that because of Express Edition?

View 6 Replies

MDI Parent Occasionally Not Minimizing?

Apr 6, 2011

I have a MDI parent that opens another form like this:

Dim frm As New Form1
frm.ShowDialog(Me)

That form has a button that, when clicked, does this:

CreateObject("Shell.Application").ToggleDesktop()

The button operates as expected (showing the desktop) most of the time but occasionally does not minimize the MDI parent. All the other windows, including the form above get minimized every time.

View 1 Replies

Form Doesn't Load Occasionally?

May 18, 2012

I have a form which on occasion doesn't load...you can see in the task bar ...but it is blank.The code I'm using is pretty straight forward...

Dim admin As New Administration
admin.Show()

I need the user to be able to try again...

View 7 Replies

Infragistics UltraWinGrid Hidden Occasionally

Mar 18, 2011

I have a Windows Form custom control that displays alerts on a customer record. The control uses an Infragistics 9.1 UltraWinGrid to display these alerts, which is filled from a dataset populated by a business object. Some users are having issues viewing these alerts; the grid will be completely blank, like the fields were hidden for some reason. This sample code shows how the grid is populated:

Private Sub InquiryCallbackAlertList(ByVal sender As Object, ByVal e As FunctionRequestEventArgs)
Try
'Code to populate the dataset mdslist
AlertsGrid.Visible = True
[Code] .....

I have not had any success finding anything out about this problem. I did add some trace logic to check the 'HiddenResolved' property on the grid rows and am waiting to find out the results of that. Is there anything else that could be causing this grid to only be hidden for some users and not for others, and also could anything else be causing this only to happen occasionally?

View 1 Replies

SQL Server Synchronization Of Occasionally Connected App?

Mar 11, 2010

Beginning development with SQL Server 2008, VB - Visual Studio 2008 on an application that will deploy laptops remotely for 6 months or more. The laptops will have no network or internet connection. There is a requirement to sync DB changes via shipment of USB flash drives.

The remote app will have a subset of the home database data. Some tables need to be synced bi-directionally, some uni-directionally. When the laptop comes home, it will do one last sync, the local DB will be wiped, and it will connect to the home DB.

Being that there are some identity key columns and the remote is only a subset of the the home, I am not sure that SQL Server replication or synchronization functions can be utilized.

Should I Create SQL Server Compact DB's on the remote system when it is deployed and do a table by table compare (in code) to another compact DB created on the flash drive when a sync is needed?

View 2 Replies

.Net Win Forms App Crashes Occasionally, Seemingly Randomly?

Jun 2, 2011

I am developing Windows Forms Application SRacq10 in VS2010 in VB.Net. It provides a WCF duplex service and obtains real time financial market data using COM object TWS (Trader Work Station) provided by Interactive Brokers, Inc. SRacq10 works well most of the time. Occasionally, it crashes; I have not been able to observe a pattern of circumstances when it crashes. When I try to add debug to a text file, I can never make it crash; that's not an acceptable solution in the long run. Here is the fault information when running the debug version outside of VS2010:

Event Viewer:
Faulting application name: SRacq10.exe, version: 1.0.0.0, time stamp: 0x4de7a42c
Faulting module name: MSVCR80.dll, version: 8.0.50727.4940, time stamp: 0x4ca2b271

[code]....

View 4 Replies

App Occasionally Returns System.IO.FileNotFoundException On Ico File?

Oct 28, 2009

We have a vb application with many forms that contain a "lookup" button that has an icon called find.ico. Once in a while, a user will open one of these forms and get the below error but not every time. Has anyone else run into a similar situation? Since it is not consistent, it's been very difficult to track down.

Exception Source: System.Drawing

Exception Type: System.IO.FileNotFoundException

Exception Message: find.ico

View 4 Replies

VS 2010 - Settings Occasionally Get Reset To Empty

Sep 13, 2010

While writing an app that uses a couple settings, they occasionally get re-set to empty. I haven't seen any pattern to this, but I do have a vague memory that there are certain circumstances that will reset the settings in a project under development. What are the circumstances that cause the settings to be reset?

View 6 Replies

Watch A Folder Occasionally On SambaServer Using FileSystemWatcher

Nov 4, 2011

I have developed a tool to watch a folder using the below thread.

[URL]

Issues i am facing

1. Its not working on Samba Server

2. I need it to watch on predefined times only. (i.e., may be every 5 Hrs)
PBL (Visual Studio 2010 Ultimate)

View 2 Replies

SetOverlayIcon Throw An 'Invalid Cursor Handle' COMException Occasionally?

Jul 18, 2010

In my VB.net Winforms application I'm using the ITaskbarList3::SetOverlayIcon interface to set status overlays on the application's taskbar button (under Windows 7). This all seems to work fine for me, with the icons being shown and removed correctly.From the form load event, one of my functions makes the callSetOverlayIcon(parentForm.Handle, IntPtr.Zero, String.Empty)(where parentForm is the form which the load event has fired for) which very occasionally (on other people's machines) throws the following exception:

System.Runtime.InteropServices.COMException (0x8007057A): Invalid cursor handle. (Exception from HRESULT: 0x8007057A)
at MyNamespace.TaskbarNotify.ITaskbarList3.SetOverlayIcon(IntPtr hwnd, IntPtr hIcon,

[code].....

View 1 Replies

User Validation - .add And .invoke Being Ran asynchronously And Occasionally Causing Errors?

Sep 2, 2011

I have a bit of code that jumps around a few domains and adds a user to each of them. This follow is a piece of code I had to write to get around the issue of the .add and .invoke being ran asynchronously and occasionally causing errors.

It connects to the domain in question, passing a "CN" from the code in as a search filter but receives a COMException which is normally a LDAP sting config issue. The connection string in this is fine so I am not sure why it is having such a hard time.

Function GetUser(ByVal UserId As String) As DirectoryEntry
Dim objRootEntry As New DirectoryEntry
objRootEntry.Path = "LDAP://DC=SERVER,DC=LOCAL"[code]....

View 2 Replies

Why Does SetOverlayIcon Throw An 'Invalid Cursor Handle' COMException Occasionally

Nov 2, 2011

Why does SetOverlayIcon throw an 'Invalid cursor handle' COMException occasionally

View 1 Replies

.net Equivilant To Php's Require()

Dec 22, 2010

I have a list of functions that I'm using throughout my .net application. Is there a way that I can include a file into the pages that require the functions without having to copy and paste the functions to each individual page?

The large majority of pages I've found on MSDN are either toward people who are already familiar with .net to those who have never programmed before and just starting. I haven't been able to find one for people who are versed in programming and just need a list of functions and methods.

View 15 Replies

Does An AddHandler Require Parameters

Oct 31, 2011

I'm trying to add a handler, but as soon as I'm targetting a method that has parameters, the handler fails. This is the simple code:

AddHandler App.Current.RootVisual.MouseLeftButtonUp, RootVisual_MouseLeftButtonUp
Private Sub RootVisual_MouseLeftButtonUp(ByVal sender As Object, ByVal e As MouseButtonEventArgs)

[code]....

View 1 Replies

Does Software Require An Access Database

Dec 19, 2009

If I wrote some software that used an access database to store data. If I then gave the code to a third party, who ran this sofware on his Pc. Would the code work , if his Pc did not have the access database installed.I read in some article that this would still work? If this is true, how could this work? If the above software had an form which required the client to input details of an order. When the order details were being processed by the code where would it store them if no access database was installed on that pc.

View 17 Replies

Internet Require Word To Be Installed?

Dec 29, 2010

I'm trying to code a spelling checker into VB.NET 2010.It'll check the RichTextBoxFindandPrint (my version of RTB) control.However the solutions on the internet require Word to be installed. [URl]..

View 26 Replies

SMTP Servers That Require Authentication

Mar 18, 2010

i need to send e-mail's from the iis 6 via smtp server that are 2 diferent machines

i have this exampel but is not working

Public Sub SendMail(ByVal from As String, ByVal [to] As String, ByVal subject As String, ByVal body As String)
Dim mailClient As New SmtpClient(test.MailServer)

[Code]....

View 4 Replies

String.Contains Doesn't Require Parameters In C#?

May 9, 2012

I've stumbled upon this code:

var knownSeparators = new[] { "\", "/", "|", "." };
return knownSeparators.FirstOrDefault(path.Contains);

where path is a string and the return value should be a string as well.

Allthough path.Contains' intellisense suggests a parameter, it works fine without one.

How does this work exactly? Is there any way to copy this behavior in vb.net?

View 1 Replies

Deployment :: Dll Files Require Dependencies To Be Identified?

Nov 22, 2009

I am trying to create a setup deployment file, but some dll files require dependencies to be identified.

View 1 Replies

Make Program Require A Registration Number To Run?

Dec 21, 2009

Make program require a registration number to run?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved