mekab's Q&A profile
Visual Basic Docking two forms
Hello, Is it possible to dock two forms together. One form must have the ability to stay in place as the other form closes to open other forms. Then the docked form must then continue to be docked to the new forms. Thanks Michael Yes, You will have to progmattically control the positions of the forms...so that if the user moves one form the other form moves and when one form opens it positioins itself next to the other form... HTH ...Show All
Windows Forms Bitmap Images
Hi there! I am making images out of data arrays, and then displaying them in a form inside a picture box. The thing is, the display seems to be interpolating between pixel values in order to smooth out the image, to make it look better I guess. But I actually want a purely pixelated image, so that each pixel looks like a square block of a single colour (gray scale actually). I havent been able to find any setting or methods in the bitmap class to change the interpolation method, so if anyone can help me out that'd be great! Thanks a lot Joe Unfortunately I've done some tests with using Graphics to draw to a panel control and I get the same issues as a picturebox. But I must be missing something. You ha ...Show All
.NET Development Webdev.Webserver wont pick up IE ignore list proxy settings
I have a working webservice that uses WSE2-SP3 to communicate with a secure website (STS token service) via xxx.xxx.xxx:4430, this IP address'es is resolved using a hostname lookup and resolves to mySTS.com Using IIS as the hosting platform (not choosing a web service file system in VS2005) the webservice correctly uses the proxy settings set in IE, which is set to NOT proxy for mySTS.com, all other traffic is proxied thru my corporate proxy . Everything works as expected - traffic is routed directly to mySTS.com After switching to use webdev.webserver, the webservice starts successfully. But the web service is no longer able to connect to mySTS.com instead it fails with a 400 NOT FOUND. It attempts to route through the corporate pr ...Show All
Visual Studio Team System Why is TFS not available to Empower Program subscriptions?
I checked with Rob Caron. Although Empower comes with MSDN Premium, the included version of VS is only Professional. You must have one of the VS Team Editions + MSDN Premium to get TFS Workgroup Edition, thus Empower doesn’t qualify :-( Richard: My sentiments are the same as those of Peter Ritchie... TFS Workgroup would be extremely useful to me. Also, actually using it gets me some anecdotal material to convey. If I don't use TFS at all, I can't even tell customers whether I think it's right for them or not. I'd rather have first-hand experience (because I'd probably really like it). Josh p.s. for some completely obscure reason, I can't post replies to the thread I initiated... ...Show All
Smart Device Development VS2005(CF2.0) - PPC 2002
Hi, Presently I am working on VS2005(CF2.0). Can any one tell whether my appliation work (deployed) on pocket pc 2000. If you have an idea please let me know which plat forms are supported by CF2.0 Thanks in Advance. and hopefully that solution was the realization that a CF2.0 application will run on any platform you can install the CF2.0 framework on ...Show All
Visual Studio Tools for Office Time Delay using C# and VSTO
Hello, I am writing a program using C# and Excel that sends a DDE request and then recieves the result and uses it in my code. The problem I am experiencing is that my code is going too fast that the DDE has not had time to return the result. Are there any built in methods that I could use to create a time delay in my code I've used Thread.Sleep but that freeezes the whole application and doesnt allow the DDE request to run. Thanks ds Sounds like the problem is on the server side. If DdeRequest is returning 0, it likely means that the server returned a negative acknowledgement in response to the DdeRequest--meaning that for whatever reason, the server was unable to service the request at that time. ...Show All
Visual C# Flashmenu on winform
Hi, I've got a flash movie and a frm_Main. The flash movie is a menubalk, with some expanding menu's. I know how to put the flash on the form and it works completely. The problem is that the canvas of the flash isn't transparent so you can't use the room behind the flashobject when all the menus are collapsed. Is there a way to solve this Grtz Annihil8 ...Show All
.NET Development DataSet binary serialization or DataSetSurrogate
Hi! I'm serializing and remoting a DataSet to put it in a webservice in IIS, but use XML formater and is too slowly (becase are big DataSets). I want use binary formating to serializing these DataSets. I read about DataSetSurrogate , but i don't find it in the Object Inspector of Visual Studio :( Where it is I put the DataSet in a webservice in IIS because there is a lot of pocket pcs that must read this DataSet ... can i use DataSetSurrogate in pocket pc This DataSets are dowloaded via GPRS and if it is BIG DataSet ... then takes a long time, besides the pocketpc also takes a long time to parse this large XML file. If i can't use DataSetSurrogate .... what thing can i use to improve the DataSet performance How serializing a remoting a Da ...Show All
SQL Server Accessing webservice w/ custom dll - WebPermission request fails
I'm running rs2005 sp2, and the dll was made with .net 1.1. Before, there were no issues with this version crossing of .net 1.1 and 2.0. In the RS IDE, the webservice call works fine. I've read that this execution is done with full trust - so I've tried to tackle the CAS issue. When I try to call the webservice from the dll, I catch the exception, and it's: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Now what confuses me is, why is the version of WebPermission 2.0 when the dll is 1.1 Maybe there is translation done and the dll is really run w/ the 2.0 framework Anyways, this I've done are: * Added this right before my webser ...Show All
Visual FoxPro Detect hard diskk serial number.
Dear Expert, Can I know how to detect the hard disk serial number or code using foxpro Thanks a lots. Hi You can do this using WMI (an internal database of objects maintained by Windows) This code returns the serial # of my local hard disk(s) oWMI = getobject("winmgmts:") oDisks = oWMI.InstancesOf("Win32_PhysicalMedia") for each oDisk in oDisks "serial # " + oDisk.SerialNumber next The syntax will be slightly different for VFP6 or earlier, and this could be run remotely: see here for more info. --stuartd ...Show All
Internet Explorer Development IE Font Rendering Inconsitency on Select Elements
I've noticed that there appears to be an inconsitency with how text is rendered in elements on IE7. I have a web page that is encoded in utf-8, and contains japanese code points. All text looks fine except text in select elements. In a select element the text is rendered as squares. I can fix the problem by explicitly selecting a font that contains these code points (e.g. MS Gothic) However, that doesn't seem to be required for any other element. So what gives Is this a bug If it is, is there any chance we'll see a fix Thanks. Here's a test page that shows the error... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd "> <html> <head&g ...Show All
.NET Development Getting Remote IP address!!
Hello, My computer is connected to the internet with other computers thru a router, my LAN ip is 10.0.0.84, but it is not the WAN, so how can i write a windows or console app that gets the WAN IP Thanks I dont think so, i am already in development, i talking about something called reverse connecting - i am not sure - this allows u to connect to PCs behind routers programatically, i mentioned trojans which nearly do the same function ...Show All
Visual FoxPro My.ProgressBar for Backups?
Its *good for users* to have a ProgressBar Indicator during backups of tables (while they wait for "who-knows-how-long", etc.). 'Twould be so nice for our users to be able to have: 1) the *Windows Flying Paper Progressbar* (during Window's copy/paste of files) ...or... 2) a 'Themed-progressbar' step-timed to the number of BYTES transferring during backup. (not just a wait window/Marquee (like Windows startup-progressbar), which leaves the user *hanging* about when its going to finish) Please try to help me (I'll continue researching this and let you-all know if I've found a ProgressBar routine that step-times according to actual bytes being copied) hi can you help me how make a code for my myspace backgrou ...Show All
Software Development for Windows Vista ALERT ! Copying many Files/Dirs between Disk's unstabilizes Vista ! Results are inpredictable !
Hello World as I already explained in my Thread " Copying Files from USB-HD to internal HD: Explorer Out of Memory ! " a few Days ago, this very Severe Error in Vista seems ***NOT*** to be USB-Bound - this Error also occurs if You Copy larger Amounts of Files/Dirs between INTERNAL Harddisks ! So I recently tried to Copy a Root-Dir from Drive D (internal to my System, SATA) to Root-Dir of Drive C (also internal, SATA - this is ANOTHER physical Disk, not just another Partition). The Root has 973 Dirs and 17'614 Files - 1.87 GB of Data. After Drag/Drop from D to C the Copy-Dialog opens and tells my that 18'588 Elements will be Copied. After about 16'373 Elements I get the Error Dialog like "Explorer Out of Memory". After t ...Show All
Visual Studio Express Editions Help with code plz, copy paste sendinput coding
I finally was able to get code I thought would work. I use dragon naturally speaking and in some nonselect and say text area (that means cant use voice dictation there) I wanted to open a dictationbox dictate into it, then transfer the text from it into the nonselect and say fields. After I made the app, if i manually copy and past ctrl a or ctrl c or ctrl v that works fine. its my auto code thats amiss. Am trying to avoid sendkeys aws vista is coming and i hear wont support them, plus they have issues with use. I get an error when run it that says to large or to small for Int16 no idea what that means. here is the code. Imports System.Runtime.InteropServices Public Class Form1 Private Sub DoKeyBoar ...Show All
