C Sharp :: Access Desktop Application From LAN?

Feb 12, 2013

I want to develop windows application using c# ,.net framework 3.5 as front and Mysql4.1 as a backed language.Now my question is i want to install this application only on server PC,so is it possible to access this application within LAN connected PC.If yes how do i build my application.or do i need to install .net framework on LAN connected PC's(or on client PC's)

View 1 Replies


ADVERTISEMENT

C Sharp :: How To Send SMS From Desktop Application Through IPhone (USB Connected)

Sep 26, 2014

i want to send SMS from APP Using Iphone. i can send SMS from andriod but when i connect Iphone so COM PORT can't be detected.

View 1 Replies View Related

C Sharp :: How To Save To Access Database In Application

Jan 21, 2014

I have application that codes and binds an access database to a windows form application. Everything seems to work however, nothing is actually saved in the database. Updates and deletes are coded and debugging steps through, but checking the db, the data is the same.

View 2 Replies View Related

Visual C++ :: Pan Gesture In Desktop Application

Nov 11, 2014

I'm struggling with the pan gesture in a desktop application for my Surface Pro 2.

I simply want to pan (or "swipe" if you prefer) with two fingers, but it doesn't behave like I want it to. If I put two fingers on the screen and move them straight diagonally, I receive a series of client coordinates that are aligned in a vertical or horizontal direction. Only if I perform some circular motion, then it's suddenly possible to move diagonally and receive coordinates accordingly.

I've tried with MFC, by overriding CView::OnGesturePan. I've also tried with a sample project provided by Intel, that handles the GID_PAN message in WndProc to move a rectangle around, but with the very same result. The project can be downloaded from [URL] ... fordesktop.zip, so you can quickly reproduce the behaviour if you have a touch screen.

Code:
void GestureHandler::handlePan(HWND hWnd, GESTUREINFO gi) {
if (gi.dwFlags & GF_BEGIN) {
m_first.x = gi.ptsLocation.x;
m_first.y = gi.ptsLocation.y;

[Code] .....

I first thought it had to do with the points being too close to each other. I mean, if two points lies only one pixel apart, it can only result in eight different directions. But if I modify the code to only update "m_first" when the distance between the points are greater than some minimum distance, the points still keep being projected to a horizontal or vertical line relative to the first starting point.

View 1 Replies View Related

C++ :: Desktop Application To Utilize Camera And Scanners?

May 5, 2013

I plan on creating a desktop application that utilizes external hardware such as cameras and scanners and captures pictures and scans for use within the application. Is using straight C++ the way to go, or would a mixture between C++ and C# be beneficial? (I heard they can be used in conjunction but is it more hassle than benefit?)

Is GUI development any better in one language over the other? I am hoping to be able to choose a language with less installation requirements for the end user.

I understand that certain requirements are placed on the end users computer depending on what you are developing with (I would be using Visual Studio 2012).

View 2 Replies View Related

C Sharp :: Run Application When Log Off In Console Application

Oct 4, 2012

i have task scheduling application which execute every 30 minute i want to keep this process when system is log off in c# console application

View 2 Replies View Related

C# :: Build A Web Application That Uses P/invoke To Access A Method?

Nov 26, 2012

I am trying to build a web application that uses p/invoke to access a method. Similiar to the one used here - [URL] However I keep getting the following error message - Unable to load DLL 'MyDll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) I read say to change the output directory to match that of the Mydll directory I have tried that and it still does not work.

View 6 Replies View Related

C++ :: Application Causes 0xc0000005 (Access Violation) On Certain Machines

May 20, 2012

I wrote a very small program in c++ to automate a process at work. The program basically fetches a binary file from somewhere on the internet, but feel free to look at the source:

#include <windows.h>
#include <iostream>
#include <cstring>
#include <Wininet.h>

[Code]....

The program works on my Windows x64 machine, but it causes a 0xc0000005 (Access Violation) error on the machine I want to apply it to (a Windows NT 6 v7600 x64 server).

The permissions of the NT machine are NT Authority/Network Service, I'm not allowed to change it due to security reasons. Is there a way to avoid this error?

View 1 Replies View Related

C Sharp :: Get Text From Website To C# Application

Apr 20, 2013

I would like to know an easy way to let my application show in a label, some stats from a website.

View 1 Replies View Related

C Sharp :: Send Message From Application

Aug 16, 2012

I want to send SMS through my C# application.

View 1 Replies View Related

C Sharp :: Add Multiple Records In Console Application?

Nov 22, 2012

how l can add multiple records when using the console app. This is the excercise l have done so far:

string name;
string surname;
int score;           
Console.Write("Enter Name:");

[Code]....

l want to be able to add more student records and display the student with the top score.

View 4 Replies View Related

C Sharp :: How To Save Webpage As Image With Web Application

Jun 25, 2012

Is it possible to save web page as image with web application? if yes then how?.I searched and searched and searched but all examples i found were for windows application and i'm facing lot of trouble while converting it for web application.

View 1 Replies View Related

C Sharp :: How To Insert Image In MS Access Through C#

Nov 7, 2012

I am facing the problem of adding the image in MS Access Database. I know that OLE Object datatype is used to insert the image in MS Access database.

I have already converted the image in Byte form but unable to add that Byte [] to OLE data type.

Is Byte compatible with OLE Object Datatype?

View 1 Replies View Related

C Sharp :: Unable To Type Into Text Box While Running The Application?

Mar 24, 2013

actually it is the windows application .When i'm running my program it is not allowing me to enter the data into textboxes means the cursor is not appearing

View 1 Replies View Related

C Sharp :: How To Fill In HTML Textbox From Windows Application

Apr 19, 2012

1. Open a browser and navigate to a URL (manually)

I would like to do the following from a windows application:

2. I will click "Fill data" button from Windows screen,

3. We have to identify what are the browsers opened in the PC and which browser has correct URL

4. Once the correct browser is identified with the URL, we have to fill in data (received from scanner) in the html page opened in the browser.

How to achieve above functionality.

View 2 Replies View Related

C Sharp :: Displaying Image In Windows Form Application

Nov 8, 2012

i want to open image in windows from application but it's not showing the image. here is my code/////

using (OpenFileDialog dlg = new OpenFileDialog())
{
dlg.InitialDirectory = "c:";
dlg.Title = "Open Image";

[Code].....

View 1 Replies View Related

C Sharp :: How To Consume Data From The Web Service In Window Application

Feb 13, 2015

I am developing project on window application in c#.net. I want to consume the data from the web service and that web service is developed in PHP. So, How to give the reference of that web service?

View 1 Replies View Related

C Sharp :: Open New Cmd From Console Application And Write Text

Oct 23, 2012

I want to open one new CMD from console application, write text into the new CMD and then coming back to the control on the old cmd. (like interactively working on the both)

look into the below code

Process P1 = Process.Start(@"C:WINDOWSsystem32cmd.exe");
P1.StartInfo.RedirectStandardInput = true;
P1.StartInfo.RedirectStandardOutput = true;
P1.StartInfo.UseShellExecute = false;
StreamWriter wr = P1.StandardInput;
wr.WriteLine("First line in New Cmd");
Console.WriteLine("First line in Old Cmd");
wr.WriteLine("Second line in New Cmd");
Console.WriteLine("Second line in Old Cmd");

it is giving the exception "StandardIn has not been redirected"

View 1 Replies View Related

C Sharp :: How To Access Functions Between Two Child Forms

Oct 14, 2014

How can I access a function in a child form from another child form of a same owner?

View 1 Replies View Related

C Sharp :: Add Indexed (Duplicated OK) To Access Database

Jan 31, 2013

I have an application which inserts large amount of data in Access database. So to speed up the things i have set Indexed property to No.

So at the end of insertion i need to set the index to the column of the one of the table to Indexed (Duplicates OK) through C#.

View 3 Replies View Related

C Sharp :: Combining Multiple Access Tables Using C#

Aug 14, 2012

I'm having a bit of trouble with something. What I'm trying to do is create a new Access table by combining other already existing Tables.

For instance, let's consider Table1 (with columns A, B and C), Table2 (with columns A, D and E) and Table3 (with columns A, F and G), where Table1.A = Table2.A = Table3.A.

From these, I want to create a new table TableResult, with columns A, B, C, D, E, F and G, with all the data contained in them. There's one catch: I want the code to get the names of the other columns, apart from column A.

I've thought about using Union, but I need to actually create a new table by combining the previous tables.

View 11 Replies View Related

C Sharp :: How To Give Line Break In Panel In Windows Application

May 8, 2013

I am creating windows application in that i wan create dynamic controls so that i want to give line break after each control in panel.I had tried

panel1.Controls.Add(new LiteralControl("<BR>"));

but it gives error like : "The type or namespace name 'LiteralControl' could not be found (are you missing a using directive or an assembly reference?)" Also have tried adding namespace for leteral control bt it not accepting.VS10 automaticaly get restart if i trying to add system.web.dll

View 2 Replies View Related

C Sharp :: Add Hyperlink In Gridview Column In Windows Application Developed In C#?

Mar 26, 2013

I am developing windows application using visual studio 2008 and c#.

I have a GRIDVIEW, but I am not sure how to make a specific column of gridview as hyperlink.

For Example: First column of my grid view is Item ID and if user clicks any of the value in this column a new form should open.

Below is the code of my GIRDVIEW

DataSet ds;
        DataSet ds3;  
        public void FillGridView(int LotID)  {
            clsPurchase obj = new clsPurchase();

[Code] ....

View 2 Replies View Related

C Sharp :: How To Save Back Color In Windows Form Application

Sep 28, 2012

I wrote this code behind a button
"
colordialog.showdialog();
File.WriteAllText("dlg.txt",this.BackColor.Name);
"
And I wrote this code in Form Load as well
"
this.BackColor = Color.FromName(File.ReadAllText("dlg.txt"));
"
but I got an error and I dont know what is this.... "Control does not support transparent background colors"

View 2 Replies View Related

C Sharp :: How To Set Rootpath Of Application Which Is Path Of A Selected Item In Listbox

Apr 4, 2013

I want to set the rootpath of an executable application. This rootpath should be the same as the path of an item that I select from a ListBox. The code for selecting the item is as follows.

namespace Menu {
    public partial class Form1 : Form {  
        private Button button;
        private ListBox listBox1;
        private string selecteditem;

[Code] ....

Now what I want is: Whatever I get the output as in the :

Console.Writeline(path + selecteditem),

I would want to set this as a rootpath for an application so as to do rest of the measurements or steps only in that path/folder. Is it possible to do something like this?

View 8 Replies View Related

C Sharp :: Access Database Is Copying To Output Directory On Its Own

Oct 4, 2014

I have an extremely annoying problem, I am inserting data into an access database and now i have noticed that it is copying itself to the bin/debug folder on ts own and yet i have set "Copy to Output Directory" property to "Copy never"

But without fail, it is copied! It is making any attempted updates to the database's information invalid since its not updating at all.

This all started when i installed crystal reports and it asked me to make a duplicate of the database in order to utilize data-sets that were created for certain reports.

Why this is happening? I cannot test my application properly at all.

View 2 Replies View Related







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