FAQ Database Discussion Community


Windows Forms Designer Changes My Code

vb.net,winforms,events,desktop-application
Im trying to create desktop application in VB Express 2013. User should be able to change main form size with mouse. But I want to keep some controls in the middle without changing size. So when I have Panel called Panel1 its set like this: Me.Panel1.location= New System.Drawing.Point((Me.Width/2)-(Me.Panel1.Width/2),0) This will...

Print form in Windows application

c#,winforms,printing,desktop-application
Im trying to get a button to print out my current form and have tried all the code I can find on here but it keeps printing blank pages and I cant work out why. The code I use is as follows Bitmap bitmap; private void btnPrint_Click(object sender, EventArgs e)...

Itemrender of DataGroup won't release memory - flex(Adobe air)

actionscript-3,flex,memory-leaks,air,desktop-application
i have a datagroup compoenent in Adobe Air application and i have used custom itemrenderer in it, i attached source code of itemRenderer as well as i attached profiling of it, Question: When i come back from other module to the module which have this datagroup at that time it...

Filter/find animated GIFs in Windows

windows,image,desktop-application
I am looking for a way to "find" animated GIFs so I can remove them from a folder. This must work on Windows 7 or Windows XP. Edit: I am looking to distinguish between animated and regular GIFs. If I could select all GIFs that might be ok as then...

Libgdx, text size differs from android to desktop

java,android,libgdx,desktop-application,desktop
I am new to libgdx and I am trying to do some stuff but I am facing a weird problem. Text is really small on desktop while it is normal on android. Here is screenshots: Desktop: Android: and here is the code: public MainMenu(RTSGame game){ this.game = game; stage =...

Vibration on a tablet running Windows, is it possible on .net?

.net,windows,desktop-application,tablet,vibrate
Is there an API or is there a way to access a vibrate controller of some kind on a Windows based tablet? As a testing device I got a Lenove Thinkpad 8 which I know it vibrates when the home button is tapped. But I have been trying to find...

CDI with desktop application

java,cdi,desktop-application
Have some business logic using CDI (@javax.inject.Inject and @javax.persistence.PersistenceUnit). Want reuse it inside desctop application. Added beans.xml into META-INF folder. Set Java 7 as default. Wrote simple class: public class Main { @Inject private static AggregatedUserQueries aggregatedUserQueries; public static void main(String[] args) { System.out.println(aggregatedUserQueries); } } Of course it prints...

Google api that convert voice to text?

java,android,google-api,desktop-application
I know that Android has function to convert voice into text. Also I have seen that google has this functionality, too. In fact, google has introduced this in Android . I want to use google Voice to Text api in my desktop application. So is there any google api that...

Is it okay to use MySQL with python, through pymysql, for a desktop application? Why, and why not? [closed]

python,mysql,desktop-application,inventory
I am new into the desktop applications development and also to Python. The model of this application is really simple, it's an app that keep track of items of an inventory. The user can CRUD data from the database and make reports,etc. My question here is: Is it ok to...

Two-way communication between web application and desktop application

.net,ajax,wcf,web,desktop-application
I am curious if this scenario is even possible: .Net Windows Forms application (our product) with a couple of WCF services exposed (self hosted, for example on 'http://localhost:8000/myservice/method1'), running in elevated mode. A web application (from another manufacturer) on a public domain, which would communicate with our application in a...

What language should i learn to create desktop application? [closed]

c,user-interface,desktop-application
I'm new to programming, I'm learning alone,I'm not attendant to any school. I began my programming on C, I've been learning it from S.Prata C Primer Plus. I'm in the middle of the book like 320/680 pages. My goal that i set myself is to create advanced calorie calculator with...

Packaging a GWT app to run completely offline NOT installed via a “marketplace”

gwt,desktop-application,offline
Theres a few questions similar to this, so I'll try to be clear as possible. We have an existing, fairly large and complex, GWT webgame I have been asked to make work offline. It has to be offline in pretty much the strictest sense. Imagine we have been told to...

Responsive UI design for windows desktop application

c#,desktop-application
While designing a UI for web applications, we have CSS and html for responsive design interface. But when designing desktop application, how can I get responsive design interface. I need to fit my application interface in different size of screens e.g. desktop, laptop, tabs, etc. How can I do this,...