Pixel Density Across Multiple Machines - Setting?

Apr 2, 2011

I have been working on a suite of VB 2008 Express applications on my laptop and thought I would do some work on them using my main desktop rig. I have the VB 2008 Express IDE on both machines, identical MySQL database, Apache Server, etc etc. Everything works fine except that the forms look a little different on my desktop.

Different meaning that the controls don't quite line up correctly as far as spacing, and I have two bitmap graphics on the forms (logos) that appear the same size, but the picture box is smaller, on my desktop than they do on my laptop, so they are cut off.

Additionally, when I add my text box controls and set their location, they are WAY off on my desktop but line up correctly on my laptop.

Both my laptop and my desktop use Windows XP Pro (laptop is the Media Edition however) and I use the same resolution screens (1680x1050).

So I was wondering if it might be a DPI Pixel Density difference, and how I might go about checking that and adjusting it.

Here are two images showing the subtle differences between machines. Of course, it would be ideal if I could get my forms to look identical across both machines.

View 1 Replies


ADVERTISEMENT

Use One EXE On Multiple Machines?

Nov 26, 2010

I have one EXE on my server machine (Windows Server 2003) and now i want users on multiple computers (Windows XP) to create one shortcut on there repective machine and access this EXE.

View 1 Replies

How To Run Application On Multiple Machines

Jun 22, 2010

I have created a Office management software in vb.net & access, but i m not able to run it multiple machines.

View 2 Replies

Check Multiple Services On Remote Machines?

Jun 20, 2011

Im trying to check multiple services on different remote servers. i need to check lets say, RPC, Themes and Print Spooler services.

how can i list the services i need to make sure they're running and if they're not to start them in VB.net without using WMI?[code]...

View 2 Replies

Connect Client Machines With Sql Server Machines?

Dec 7, 2011

How to connect client machines with sql server machines ?Vb.Net as front end.

View 8 Replies

VS 02/03 Grab A File Version Of An Specific File From Multiple Remote Machines

Mar 4, 2012

able to give me a script that i will be able to grab a file version of an specific file from multiple remote machines. I have a list of machines in Txt file ... i want the script to read the list.. and generate a new file that have the Machine names with File version.

View 1 Replies

Load A GIF File, And Start With The First Pixel And Check To See If That Pixel Color Is Closer To Black, Red, Green Or Yellow?

Jan 30, 2009

I would like to load a GIF file, and start with the first pixel and check to see if that pixel color is closer to Black, Red, Green or Yellow, then take what ever color it closest matched to and output that color as a number, 0, 1, 2 or 3. So just for a small example a 5x4 GIF would be converted to something like this: 0112223322220111332?

View 13 Replies

Determine The Pixel Width And Pixel Height Of The Largest Image?

Jul 4, 2010

How do i determine the pixel width and pixel height of the largest image i can paint onto the graphics object of a printer while inside a printpage event?

Imports
System.Drawing
Class

[Code]......

View 2 Replies

Interface And Graphics :: Get Pixel Color Of A Pixel On Screen

Sep 13, 2007

Is there a quick way to check the color of a pixel on the screen?

View 2 Replies

Changing The Position Of A Form, Pixel By Pixel?

Jul 20, 2009

during the development of my project, i've fall in the need to change the position of some forms, pixel by pixel using a timer.Now, i've checked that the movement is very fluid when form is not very heavy, when it contains few elements, but when it has a lot of elements inside, the movement becames nervous and not fluid, the movement becomes jerky.

View 5 Replies

Get RGB Pixel Color Of A Pixel On The Screen?

Jul 29, 2010

How can I find out the pixel colour of a certain point on a web browser. For instance,WebBrowser1.getPixelColor(0,0) would get the rgb colour value of pixel 0, 0.It doesn't have to be rgb it might be hsl or whatever.The web browser is showing a local web page that is hosted on a network. If there is an error then the screen goes all grey. What I want to do is, if this does happen, display an alert message like - "An error has occurred

View 3 Replies

Get The Pixel Colour Of A Pixel On The Screen?

Apr 16, 2011

I have an empty picture box with the background colour set to the transparancy colour. How can i get the colour of the pixels within the transparant picture box so that i can create a bitmap of the transparant section of the form?

View 2 Replies

Use A My.Setting As Datasource For Multiple ComboBoxes

Apr 9, 2009

I want to maintain a list of potential ComboBox values over multiple executions of my program, and to use that list as the DataSource on multiple ComboBoxes. I also want changes made to the DataSource to propagate over all of the ComboBoxes already existing in the application.

Can someone recommend what type of object I should use as my DataSource, as My.Settings objects don't seem to support generic list objects.

Also, along with that recommendation, can I also ask for suggestions as to how to propagate the updates of the collection to all ComboBoxes? I would imagine I need a collection type which raises events when its contents change, but I can't think of any, and in any case do not know which are compatible with My.Settings.

View 1 Replies

Custom Setting To Save Multiple Instances

Dec 28, 2011

I have this code for custom settings:

Code:
Imports System.Configuration
Public Class setLV
Inherits ApplicationSettingsBase
Private fpListViewItems As List(Of ListViewItem)
ReadOnly Property ListViewItems() As List(Of ListViewItem)
[Code] .....

It works great for saving one Listview and its items but I need to save multiple Listviews and their items. I have no idea how to accomplish this.

View 3 Replies

VB 2005 - Multiple PictureBoxes And Setting Up Control Array

Sep 7, 2005

I have a VB2005 project that displays 16 pictureboxes in a 4x4 grid which display CD album covers. In VB6 I could set up a control array i.e. picCD(0) to picCD(15), which made drawing the CD covers a snap. How do I accomplish this in VB2005?

It seems extremely cumbersome to have code like: If Len(path(0)) < 1 Then
If Not IsNothing(PictureBox1.Image) Then
PictureBox1.Image.Dispose()
PictureBox1.Image = Nothing
End If
[Code] .....

View 5 Replies

Setting Up The Listbox To Have Multiple Columns That Will Be Populated From A Stored Procedure Within SQL?

Jul 3, 2009

I'm doing a project in database development which requires to use a list box that will populate from a SQL Server database.I'm confused on setting up the listbox to have multiple columns that will be populated from a stored procedure within SQL.I drag and drop the listbox onto the form, size it, change it's property to multi-column, set column width to 10, but don't know what to do next.The listbox on the form design doesn't show multi-columns.

View 2 Replies

Sql - Inserting Multiple Parent Rows And Multiple Child Rows For Each Parent With ADO.NET In One Setting

Nov 28, 2011

I am looking for a howto or someone expert in ADO.NET who can explain me how to properly solve the following scenario:I have two datatables in a dataset:

ParentTable (ParentID, Name) for user data ChildTable (ParentID, ActivityID, ...) for schedule data

Tables are linked together at the database level by ParentID which is an Identity column in ParentTable.

Both tables are data bound to a separate DataGridView on the GUI. There supposed to be a "1 parent/N children" relationship between the tables, meaning if I create a new entry in the ParentTable (a new user) I get a clean DataGrid in the child grid to type schedule data for the user. So I setup two DataAdapters for each table to fill their result into a DataSet. I also set up a DataRelation object and assign it to the DataSet to link the two tables by their ParentID columns. Also when I add a row into the ChildTable via DataGrid I use SetParentRow to set the parent row.

[Code]...

View 1 Replies

Comparing The 2 Images Without Actually Comparing Them Pixel By Pixel?

Mar 20, 2012

I have the code below on a timer( "b" is a bitmap )

If
Not (Clipboard.GetImage
Is
Nothing)

[Code]....

The problem is that it raises the event even if the picture didn't change.

comparing the 2 images without actually comparing them pixel by pixel (too slow to do the job)?

View 2 Replies

App Not Working On SOME XP Machines

Aug 19, 2011

I have developed an application is VS2010 ( VB app using .NET4 ) ... the application runs fine under Windows 7 and on (3) XP machines we have here. Had one user looking for support on an XP machine ... when he started the app nothing happened. No errors or anything, just nothing happened. Had him install the latest .NET4 framework and everything was fine.

Just had another support issue ... user with the same complaint ... had him install latest .NET4 ... but this time did not fix the issue ... still nothing happens when he clicks to start the app ... no errors ... just nothing happens.

I can't check this because it runs on all our XP machines .... Is the only criteria that .NET4 be installed? I created an install that includes only the EXE from the BINRELEASE folder ... nothing else. Do I need anything else. Strange that it works on all our XP machines.

View 15 Replies

Compile - Cannot Run .exe On Some Machines

Jun 21, 2010

I have a small form program that is basically an interface for installing different software packages so that we can distribute a CD with our products that our customers can just pop in the drive, autorun, and click the button to install what they need. The problem that I am running into is unlike when I had built this same program in VB6, the program rewritten in VB.net will not run on some machines, and shows me an error: .net Framework initialization error. required version of .net framework v2.0.50727.

I realize that it is asking for that version of .net framework in order to run, but what I would really like to know is if there is a way to make my exe non-dependant on this so that it will run on any machine. Requiring my customers to install .net framework in order to access an interface designed just to idiotproof the installation of some setup files and provide easy access to a few pdf's really would just defeat the purpose.

View 4 Replies

How To Switch Machines

May 28, 2012

I have two machines, on the first of which I have developed my application to a point of satisfactory stability. Now I want to move everything to my second machine.Both computers have the same level of XP and NET Framework code, and both have Visual Studio 2010 at the same level.I copied my application's project folder onto the second machine, but the second machine's VS 10 can't load the project because it can't find a couple of Interop files (e.g., AxMSComCtl2). All of files are present in the project folder and also in its.bin subfolder. The only observable difference between the two machines is the presence, on the first machine, of some Assemblies stored under my user name there. Copying the Assemblies to the second machine didn't help (I hadn't thought it would).Is my application permanently "imprinted" on my first computer, or is there a simple way of resusitating its clone?

View 10 Replies

Running On Other Machines?

Feb 25, 2012

My name is Jack, I developed a program and I wanted to run it on a clients PC. I used deifferent framework and that didn't work but when I used 3.5 client, it said it had stopped working and I know my client has .net framework 4 and when I did it with 4.0 client it didnt say it had stopped working it just didn't show up but the notification icon showed up for 2 seconds.

View 4 Replies

Use (.exe) Tool In Other Machines

Oct 13, 2008

i have created a tool written in C# that would parse string (from 3 files) using regular expressions then throw all the matches in a grid. It works fine on my machine.. It returns matches from those 3 input files.. The problem is when i use that tool (.exe) in other machines..there are no errors. The program works fine for the first 2 files.. but doesn't return matches on the 3rd file.I tried copying the codes in one of the machines just to trace the problem, but when i run the program, it suddenly worked fine.. from then, the program is working fine on that machine.

[Code]...

View 2 Replies

Setting Short Function By Setting Poker Game Points?

Aug 23, 2010

I need help and wondering if you can help me to get my first project...it's a hobby and wondering if you can get me code for this so i can see how it does it* Evaluate( ) Prints the evaluation of the hand to the evaluation Label.

o If IsFlush( ), prints "flush; "
o calls SetPipArray( )
o Uses a For Loop to go through pipArray. For each element, uses a Select Case statement to

[code]....

View 9 Replies

App Runs Slow On Other Machines?

May 24, 2009

Basically i have designed an app that runs smoothly on my desktop PC (3GHz processor, 2GB RAM, Windows XP Media Centre (SP3)).

When i put the app on my laptop(1.4GHz processor, 448MB RAM, Windows XP Home Edition (SP2)) it runs really slow and is unusable.

I have tried deploying the app and also just copy the whole folder to my laptop and run the apps *.exe from the bin/debug folder, but it has the same results.

I have tested it on higher spec machines with 2GB RAM and they also replicate the slowness, so i'm at a loss as to why it behaves 100% on my desktop PC, where i have Visual Studio installed but not on any other machine.

My question is if little differences like operating system, RAM, service packs, VS installation, etc, make apps run differently on different machines.

View 4 Replies

Cannot Execute Exe On Machines Other Than The Developer?

Jul 19, 2011

I updated a VB.NET application from Visual Studio 2008 to Visual Studio 2010 and made a few changes to it. Now it works fine on my development workstation but when the user tries to run it, it fails. The error detail is below. I've searched for System.InvalidOperationException and found several suggestions but none of them have helped. There isn't any static initialization code in the application. I changed the compilation to x86 instead of AnyCpu. None of these has helped. The project is compiled for .NET 3.5 and that hasn't changed. Both environments are Windows 7 64-bit.

Does anyone have a suggestion as to how I might determine what is causing this?

[Code]...

View 6 Replies

Global Variable Across All Machines?

May 31, 2009

I'm focusing on Networking programming and I had found something that was very interesting to me in Remoting, which is the ability to have some how a "shared global variable accross applications" ... Here's a quick example of what I'm saying (which is stripped and modified from one found example on internet):

In the Remoting class:

Code:Namespace remoteclass Public Class xx Inherits MarshalByRefObject
Public Shared_Var As String 'This is our share variable
End ClassEnd Namespace

[Code]....

I found that I can eaisly use this red-marked variable (Shared_Var) acrross all application clients without any extra line of code to update its value ... without using even what is called "singlecall" and "sigletron".

But I have concerns:

1) This is only applicable for simple types of variables (e.g. string and integer) but an array or DataTable for example are not updated! and I don't know why!!

2) Would that load the communication network (I mean the content of these shared variables (few KBs to 1MB) will always be communicated across machines all the time without any management) ... Actually I don't how this works from inside, Does it update on change or cyclic ...

3) And finally, can I found something like this in WCF?

View 2 Replies

Notify Change Across Machines?

May 11, 2011

I have an object with a GUI interface. This has properties and methods. When this object is modified by anyone, on any machine, all other users should reflect the change, without specifically asking for a refresh. How can I achieve this? Imagine that the Object is static across users. I need complete details on going about it

View 2 Replies

Pinging A List Of Machines?

Feb 1, 2012

I have a list of machines, 1 per line in a file called devices.txt.

What I need to be able to do is to ping each of these machines, and then output each machine that is online to another text file called machines.txt

The files need to just be the machine name and have 1 machine per line.

View 1 Replies

RDP Activate On Remote Machines?

Dec 29, 2009

I have a need to activate remote desktop on machines out in the field and have created a VB button that takes a workstation name from a textbox and activates via a WMI call. problem is that it pops back with an "invalid parameter" error.

View 3 Replies







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