Questions tagged [dev-mode]

49 questions
4
votes
2 answers

Can't change DEVMODE of a printer

I need to change DEVMODE of printer for current printing task to pass standard and device-specific settings. I do the following: PrintDocument d = new PrintDocument(); d.PrinterSettings.PrinterName = "Microsoft XPS Document Writer"; // example…
Bogdan Verbenets
  • 22,103
  • 10
  • 62
  • 107
4
votes
0 answers

UnsatisfiedLinkError when running Grails/GWT app in DevMode

Using Grails 2.1.0 in GGTS 3.1.0 with gwt plugin (gwt:0.7.1) and dto plugin (dto:0.2.4). I have a simple DTO object: public class TestDTO implements grails.plugins.dto.DTO { private static final long serialVersionUID = 1L; String text; …
Tom W
  • 41
  • 2
3
votes
2 answers

How to set __IE_PrinterCmd_DevMode Property to a DEVMODE structure in print template in IE with Visual C++

The print template in IE uses this property to determine information about the selected printer after a user closes the Print dialog box. How can I set this property to a DEVMODE structure with code in Visual C++. How can I convert DEVMODE structure…
A.Danesh
  • 765
  • 8
  • 38
3
votes
2 answers

Troublshooting guide for GWT plugin

When I try to use the GWT dev mode plugin for ie 8 on Windows Vista I continually see the prompt to install the plugin. After running the plugin I still always see this page. Does anybody know of how to troubleshoot something like this?
benstpierre
  • 30,487
  • 46
  • 163
  • 272
3
votes
0 answers

DIAL-launched app closes immediately (Xbox One Dev Mode)

I'm developing a receiver app for my company to run on the xbox one and we need it to launch from a mobile device. The xbox is in dev mode and I have added the DIAL declaration to my app's manifest. I can send an M-SEARCH request to get the location…
Alex Meuer
  • 935
  • 18
  • 33
3
votes
2 answers

GWT Maven project made with WebAppCreator don't work in devmode

I have created a GWT project with maven configuration on this way : webAppCreator -out HelloWorldGWT -templates sample,maven,readme ua.vitvyaz.hellowordgwt.HelloWorldGWT I tried to run project on devmode : mvn gwt:devmode But in the browser i got…
Vit Vyaz
  • 33
  • 3
3
votes
1 answer

Rotating the display programmatically?

I'm looking for a way to rotate the display of one of my monitors programmatically. I have two monitors set up on a desk mount, and I often use them in varying orientations when programming or using various other programs, and in order to change the…
3
votes
2 answers

DevMode Launch fails in GWT JSNI project

I have run into a weird issue with gwt dev mode debugging. Following is a JSNI wrapper I am writing https://github.com/sillysachin/GWTAMChart It is fairly small and simple project with lots of JSNI, JavaScriptObject and JSON code. It wraps over…
appbootup
  • 9,486
  • 3
  • 30
  • 64
2
votes
1 answer

GWT dev mode refreshes quickly the first 3-5 times then takes 5 minutes or more beyond

Has anybody else noticed that GWT dev mode is able to refresh/reload relatively quickly (10-20sec) for the first 3-5 times then takes 5 plus minutes to reload beyond that?
benstpierre
  • 30,487
  • 46
  • 163
  • 272
2
votes
2 answers

dmDeviceName is just 'c'

I'm trying to get the names of each of my monitors using DEVMODE.dmDeviceName: dmDeviceName A zero-terminated character array that specifies the "friendly" name of the printer or display; for example, "PCL/HP LaserJet" in the case of PCL/HP…
fredley
  • 29,323
  • 39
  • 131
  • 223
2
votes
1 answer

GWT Regex working in DevMode, not working in Production

I am using a RegEx that is working in DevMode but not once compiled and deployed. It is part of a class extending com.google.gwt.user.client.ui.SuggestOracle.Suggestion: @Override public String getDisplayString() { String toReturn =…
Tim
  • 2,954
  • 7
  • 30
  • 64
2
votes
1 answer

[ERROR] [mv_main] - Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...)

I keep getting the following error when I reload my app in GWT DevMode after making code changes using Eclipse IDE. [ERROR] [mymodule] - Failed to create an instance of 'com.myapp.client.widget.MyCustomWidget' via deferred binding [ERROR]…
Chania
  • 307
  • 3
  • 14
1
vote
3 answers

Can I get eclipse gwt devmode to always recompile all my modules

I have two modules, the Main module and the Included module. If I start the Main module it will show an interface with an iFrame which contains the Included module with some additional controls around it. I can also start the Included module…
wasatz
  • 3,818
  • 2
  • 21
  • 30
1
vote
2 answers

Saving / Restoring Printer DevModes - wxPython / win32print

So far I've found two different ways to access what I believe are equivalent versions of the Printer DevMode from a wxPython User Interface: window = wx.GetTopLevelWindows()[0].GetHandle() name = self.itemMap['device'].GetValue() # returns a valid…
g.d.d.c
  • 41,737
  • 8
  • 91
  • 106
1
vote
1 answer

Angular why the built application is giving an error of cannot enable prod mode?

I've built my angular application using ng build --prod and when I tried to launch it, an error appeared saying: Uncaught Error: Cannot enable prod mode after platform setup. In my api.service.ts at the top of the service I used isDevMode() in…
alim1990
  • 3,312
  • 9
  • 49
  • 91
1
2 3 4