Bombastic's Q&A profile
Visual Basic Unregistering HoyKeys
I have a question about unregistering a hotkey from a listener application. If I don't unregister a hotkey will this be stuck in windows so I do not need a listener application (meaning I can execute the application without a lister application) I have an unregister hot key sub listed below. What I want to do is execute an application based on a hotkey without a listener application. Is this possible Thanks Again! ' unregister a global hotkey Sub UnregisterGlobalHotKey() If Me .hotkeyID <> 0 Then UnregisterHotKey( Me .Handle, hotkeyID) ' clean up the atom list GlobalDeleteAtom(hotkeyID) hotkeyID = 0 End If End Sub Oh, come on. ...Show All
Visual Studio Problem building
I have been successfully using VS 2005 Beta 2 (VB.NET) for about a month now. Yesterday, I started getting the error: Error 5 Unable to copy file "obj\Debug\BO.dll" to "bin\Debug\BO.dll". The process cannot access the file 'bin\Debug\BO.dll' because it is being used by another process. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 2274 9 This error does not occur the first time I build the solution after just opening it in VS. But all subsequent build attempts fail with this same error. If I exit VS and reopen the project then I can again build one time and all subsequent attempts fail with the same error. Using SysInternal's Handle program, I was ...Show All
.NET Development how i can set isolation to dirty read on typed dataset?
i have tryied to set on command.transaction, but it is read only... any solution thank u :) ...Show All
.NET Development Problem in receiving large message using TCP Listener
Hi, I am developing Tcp Client and Server program using C#. Application works fine, if the message (client sends string with 2000 characters) is small size. If the message is quite large (say 5000 characters), receiver is not able to receive exact message. Message is received but not from the beginning. Kindly help me to solve the issue. Thanks & Regards, kalai You can use the TcpClient and TcpListener classes in system.Net namespace to achive that. You can find working samples there. http://msdn2.microsoft.com/en-us/library/1612451t.aspx http://msdn2.microsoft.com/en-us/library/zsyxy9k2.aspx Mariya ...Show All
Visual Studio Intellisense support for Text Template?
Hi everyone, How do I enable the "Intellisense support for Text Template" in VS 2005 with DSL Tool I've read some posts in this forum about the "Intellisense support for Text Template", use the methods in these posts, and still being unable to enable the feature. Is there indeed a "Intellisense support for Text Template" in DSL Tool Thks for your reply. Hi Kuei-yang, actually you just need to install the T4 Editor, create a new file with the .t4 extension and that's it. Take a look at Gaston Milano's WebLog . -- Regards, Daniel Kuppitz ...Show All
Software Development for Windows Vista Building XPS printer driver on windows XP
Hi I want to use XPS printer driver on Windows XP. while installing this XPS printer driver on windows XP it's asking for some DLL files (ex. xdwmark.dll, xdcolman.dll). in WDk folder there is no such DLL that means i have to build this DLL from WDK building environment. when i am trying to build these dll from WDK's Windows XP build environment i am gettting following warning : [source path ] is not valid for the current OS target . can you help me how can i build these DLL for XP I am able to build these DLL from Windows Vista environment. but while printing from this d ...Show All
Windows Forms Force autocomplete combobox selection
I really like that VS2005 has incorporated autocompleting comboboxes, but I cant figure out how to stop user from typing something which isn't in the list. Because my combobox is bound to a lookup table I dont want users typing a name which isn't in the list, because it doesnt find the correct foreign key to place in the table. Surely I dont need to implement my own checking on key press events :-\ Thanks for your help and suggestions Thanks Jerry, Doing this seems to remove the Autocomplete functionality, e.g. If a list contains items: Aardvark Apple, Avery Pizza I would like user to be able to type "a", "p" then autocomplete to "Apple" using the DropDownList style will cause typin ...Show All
SQL Server Problem on this forum - "deleted post"
Hello all, I just got the bellow error twice: "The post you requested cannot be found or no longer exists. The administrator or moderator may have deleted the post." Am I the only one that see this or is it a know problem. Is there a forum moderator that can check this out (I didn't saw any contect options on this page). Thanks. Hi Jens. I browse the forum with FF and I just hit the "replay" button to some one question (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1183959&SiteID=1). after pressing "post" I got the error that I wrote in the first post. Even so, after i reload the page I saw that the message was sent fine. It happened again with aanother post. I w ...Show All
Visual Studio Tools for Office Does the Tools for Office edition still have the ability to build and deploy traditional VS applications or .NET websites?
Wrote an email to a college for advise about which version of Studio to upgrade to from 2003 professional I am asking for an upgrade of Studio for next year. Thinking that the "Visual Studio Tools for Office" might be better for me that the regular "Visual Studio Professional Edition". Main difference is that I only get vb & c++, and no Crystal Reports", but I get "Office Access 2003 Developer Extensions". College wrote: That sounds like a good idea at first, but I'm not sure that you assumptions of the capabilities of the Tools for Office edition on its own is entirely accurate. I am suspicious that you will only have the ability to build MS Office applications with the Tools for Office. I am not cer ...Show All
SQL Server Which SELECT statement is faster
Again,... hello all mighty exprerienced developers, here is a beginner :) I am working on app with lots of searches. So far i see two options. Having table with cca 40 columns of nchar data type, querring it with sentences like: WHERE '*3*' LIKE '*3*;*4*;*5*' OR '*5*' LIKE '*3*;*4*;*5*' etc. or have table with cca 200 boolean columns and querries like: WHERE field13 =TRUE OR field 15=TRUE etc. Does anybody know what is faster, how sql server works on one hand LIKE is heavy operation on system resources, on the other hand isn't 200 columns too much tanx for suggestions Best regards, Grega Usally Like Operator is slower than the regular logical expression. Bcs Like operator compare each char by ...Show All
Smart Device Development Modifying the Registry
In Windows CE 4.2 when you set the taskbar to AutoHide On/Off it modifies the registry and then the taskbar will autohide or else be on top. this is done without having to reboot the device. Im my application i need to set the taskbar to AutoHide, and i have done this in the registry, but i need to warm reboot the device in order for the registry to be reloaded. Is it possible for the change to have effect without rebooting wow... thats is works perfectly Can you explain the SafeNativeMethods Class how does the PostMessage reload the registry changes What does this PostMessage Method do behind the scenes Thanks very much ...Show All
Visual Studio 2008 (Pre-release) Bug Fixes
Hi, Being a developer I know that writing software is a tedious business. I would just like to know how much time is spent by the WPF team going through bugs at the official bug logging site ( connect.microsoft.com) The reason why I am asking is because I logged a few bugs that are really critical for the application we are developing, and I would like a "timeline" as how long the whole process would take before the changes is added in a next CTP (which already to long to wait) or maybe a patch Thank you very much, Jaco Hi, Ok no problem. 1. I always add legit Text and/or XAML content, otherwise the it would not display. The reason I am doing it this way is because the RichT ...Show All
Visual C# Degraded performance in DevStudio
About a week ago I began noticing a sharp decline in the execution speed of the Visual Studio 2006 at all levels. Even in the Editor Window when I make a change the cursor won't move until good 5 seconds later. I checked the CPU usage in the Task Manager and can see that even on small, insignificant cursor movements in the source code editor the usage is up to 13%. Anything more substantial brings it up to 100% in no time. It does not happen all the time but very often. I tried to figure out the cause of it. My app is getting larger but I do not think it is exceptional. The computer is very fast (3.8GHz CPU, Bus 800 Mhz and 2Gbytes memory). What could be the problem Thanks. Have you tried installing the Service Pack 1 for Vi ...Show All
SQL Server problem with convertion of datatypes from Derived column to Slowly changed dimensions
Hi, I am facing the problem with datatype conversions, the scenario is using derived column transformation for add additional columns and then later i am trying to impliment Slowly changing dimensions(SCM) in my job, while mapping the columns at SCM from Input to Output it gave the error like suppose if i am using the numeric(3,0) at SRC system then i converted it into single byte unsigned at derived column and it recognized at SCD but the job fail while run the package it gave the error as task can not able to conversted given data type to target system dtata type.. ifi am not given the single byte unsigned data type at dervied column at the level of SCD mapping the input to output its not accapring this mapping and return the error as ...Show All
Visual Studio 2008 (Pre-release) Suggestion: Full support for continuations
I think it would be a huge benefit to C# developers if some future iteration of the language allowed full support for continuations. The ability to call/cc and throw with arbitrary stacks would work wonders for certain types of algorithms (compression, for example). Additionally, allowing the C# compiler to emit tail-recursive function calls would allow programmers work in continuation-passing style without fear of smashing the stack. These are largely abstract concepts inherited from functional languages, true. But it seems that with the addition of functional language features into versions 2 and 3 of C#, this would be the logical next step. Yes, tailcall instruction is part of the CLR. However the f ...Show All
