Pocketmnky's Q&A profile
Visual C++ Install driver automatically
For my application to work i am currently using apple ps printer driver which i install the following way go to control panel > Printers and Faxes > Add a Printer > Next > Local Printer Attached to the computer (with Auto detect turned off) > Use port (Print to FILE) > Choose Apple Color LW 12/660 PS > Leave the default printer name and disable default printer > Dont share > Print test page NO > Finish How can i automate this process using APIS or .Net etc This issue is off topic for the forums. A better place is the Win32 dev newsgroups at http://msdn.microsoft.com/newsgroups . For the scope of the forums, please see http://forums.microsoft.com/MSDN/ShowPost. ...Show All
Internet Explorer Development Vist or IE7 and Cookies
I have an application that uses the webbrowser component and when launched goes to a website. Previously I’ve navigated to the web site and set the cookie to remember who I am so I no longer have to log in. However, in my application I am still required to log in. This app worked fine under XP, but not doesn’t appear to work under Vista. Is this due to IE 7 Vista Security issue in both Any help would be appreciated, by me and my wife as I keep kicking her off her machine to run this app :) Thanks Wayne Dave Massy wrote: Can you supply more details to help us reproduce the issue Thanks -Dave On my box I login to site X check the check box that says remember me. Close IE, re-Open it and g ...Show All
Connected Services Framework HelloWorld Sample problem
Hi, I dont seem to be able to get the Helloworld sample working, whenever I press the createsession button i get a SoapFaultException. Checking the Application log gives the following Failure Audit error: Login failed for user 'Session-service'[Client: <local machine>] from the source MSSQL$SQLEXPRESS. A second error whose source is session gives: Error detail - System.Data.SqlClient.SqlException: Login failed for user 'Session-Service'. Do I need to give Session-Service an account on the SQL Server Looking at another thread from this forum I noticed that this worked for another user after they changed the authentication mode to mixed authentication mode, this didnt work for me. I then noticed that I c ...Show All
Software Development for Windows Vista Biggest Vista UI change: dropdown lists now look like buttons
In Vista, a drop down combobox list (CBS_DROPDOWNLIST) now looks exactly like a standard button control (except with a small dropdown arrow on the right). Previously it looked like a CBS_DROPDOWN except it was non-editable. I haven't seen much written about this - why did you decide to make drop down list controls look like buttons In many cases, this makes some dialog boxes look very ugly (especially those with a mix of many dropdown combos, edit controls, buttons, and dropdown lists) Is there a way to force Vista to give me an old style looking dropdown list Some of my users have been complaining or thinking the control is "disabled" i.e. greyed when actually it just looks like a button. They expect it to look like a pre-Vista CB ...Show All
Visual Basic Mshtml size problem
I am using Microsoft.Mshtml.dll in my project, but it is to big for my app. To simplify my application is only 60 KB big in size, and the mshtml.dll is 7.3 MB big. My application doesnt work if I dont copy the file localy. Is there any way of resolving my problem and reducing size of my application I am using click once to deploy my projects, and it doesnt support compression. It is just not working. When I import MSHTML.tlb, the application is no more working. I can not populate the form like I do when I copy the .net mshtml reference local. This is my code: Private m_document As New HTMLDocument Private Sub Login() m_document = Me .WebBrowser1.Do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA
Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too What exactly constitutes "commercial development" Wii games are commercial after all, right Are we talking Project Gotham 4 and Half Life 3 What exactly are you looking to do with XNA ...Show All
SQL Server event id 208 on sql server 7 HELP
Hi, For some strange reason all of a sudden, my scheduled jobs are not running. I dont remember changing anything that might cause this but i cant say for sure. The other issue i have is that i cannot backup a database to the default location as shown on the second even below. Any ideas Thanks for your help Event Type: Warning Event Source: SQLServerAgent Event Category: Job Engine Event ID: 208 Date: 08/09/2006 Time: 12:00:01 User: N/A Computer: SERVER1 Description: SQL Server Scheduled Job 'DB Backup Job for 'DBMP-EDB'' (0xC50AD7AF9993294A8134D2F7D10C0ADC) - Status: Failed - Invoked on: 08/09/2006 12:00:00 - Message: The job failed. The Job was invoked by Schedule 23 (Schedule 1). The last step to run was step 1 (Step 1). ...Show All
Visual Studio 2008 (Pre-release) Distort VisualBrush
I want to distort a VisualBrush by manipulating each corner of its definining rectangle independently. I've tried doing the following: VisualBrush vb = new VisualBrush; vb.Visual = MainGrid.Children[0]; PathSegmentCollection psc = new PathSegmentCollection(3); psc.Add(new LineSegment(new System.Windows.Point(Top + Width, Top), true)); psc.Add(new LineSegment(new System.Windows.Point(Top + Width, Top + Height), true)); psc.Add(new LineSegment(new System.Windows.Point(Top, Top + Height), true)); PathFigure pf = new PathFigure(new System.Windows.Point(Top, Left), psc, true); PathFigureCollection pfc = new PathFigureCollection(1); pfc.Add(pf); PathGeometry pg = new PathGeometry(pfc); Path p = new Path(); p.Data = pg; p.Fill = vb; ...Show All
Visual Studio Express Editions Fail to install c# express
When im trying to install c# express i got message that the Background Intelligent Tansfer System is disabled (this service i cant run on my comuer even manually), How can i install c# express Please Help Thanks Ron And this error may occur when the BITS service is disabled, does not exist, has been deleted from the services application, was stopped while download was in progress, or if any service that BITS depends on failed or was deleted. The error message for this problem is "BITS service must be enabled before you start the installation process. Enable the BITS service and run setup again." Reference to: http://msdn.microsoft.com/vstudio/express/support/troubleshoo ...Show All
.NET Development How to save assembly?
When I use CodeDomProvider.CompileAssemblyFromSource() to get an assembly in memory, how can I get the byte[] image of the assembly ( I want to save the byte array in SQLServer, that I can use AppDomain.Load() to load compiled assembly in future.) Thanks again Sorry for off-topic~~ My English is very pool, so I can't tell you why do I do this in detail... my web application service some user, but the application has a little code is different by every user at the same position. In ASP version of my application, I save the little code as vbscript text in database, than I use "msscript" component to execute the script. Now, I hope to use type-safe language for writing the little code.. ...Show All
Visual Basic migration from TrueBasic
I All I have the following conversion problem. In TrueBasic (an old structured Basic) nested routine were allowed. Look, for instance, the the following Module main Sub XXX() Dim a Sub ZZZ() Dim b End Sub End Sub Sub YYY() End Sub End Module In the above fragment the variable "a" and also "b" are seen from both XXX and ZZZ( this last is the nested procedure) but not from YYY. I do not succeed in reproducing this behavior in VB.net but I know that with all that power ( class, structure , module,etc) it is surely possible. Please, can somebody help me thank in advance Federico ...Show All
Visual Basic What is Sub New() for ?
Hello, What is Sub New() for I haven't found anything about it on the documentation. Thank you. If the 40-70MB of memory is RAM/Pagefile, then I'd be a bit concerned about optimization in general. I'm sure your application is large and consumes a large amount of data, but most of the larger windows applications don't use 40-70MB of RAM while running. A quick look at my task manager tells me that currently Microsoft Word is using 32MB, Explorer.Exe (Windows Explorer and Desktop) is using 23MB, Visual Studio is using 11MB. If your VB app takes up 40-70MB of hard drive space, then that's a completely different issue - and not necessarily a bad one. ...Show All
Smart Device Development Cabwiz.exe - Application Error
when I try to run the cabwiz with a inf file. I get the error Cabwiz.exe - Application Error The instruction at "xxxxxx" reference memory at "yyyyyy" referenced memory at "zzzzzzz". The memory could not be read. in a popup window. What may be the problem Regards, Prashanth I have tested this further in other PCs also. I get same error. Also I could findout that, If I cross the number of files above 2000, I get this error, otherwise it works fine. I could create a cabfile with 1968 files and 35MB size. But I get this error by adding some more files about 50. Is there any limitation on Number of files that can be cabbed. Or may be the size of the output cabfile, say 35MB. Reg ...Show All
SharePoint Products and Technologies can we debug sharepoint execution
when sharepoint is executing, like whenwe are creating a list, site or whatever that belongs originally to sharepoint, can we go and debug what s happening and put break points, trace....etc Thank you u create a .bat file and u put the above instruction in it. Then in order to run every time, create a scheduled task in control panel that runs every minute or 2 minutes for example. But I didn t get an accurate worrflow duration , it runs appriximately every 30 minutes if i put the pause for duration every 3 minutes. It s still an issue here at the company 2. I think Microsoft admits that. ...Show All
Visual Studio Team System MetaData.xml & MethodologyTemplate.xml
Hi How can I find these files where are they located exactly and how can I have access to them thnx Hello The files you are referring to are old TFS process template files that have since then been replaced or removed from the template.The main xml file in TFS V1 is called processtemplate.xml and that is probably what you want to look at. To get the process template files, connect to the Team Foundation Server using Team Explorer, then use the Process Template Manager to download the required process template on to client machine. Do let me know if there are any additional questions! Thanks! Yogita ...Show All
