Katil's Q&A profile
Visual Basic Reading and Comparing REG_BINARY
I am currently programming a Tweak Tool, and am having some difficulty regarding registry entries in the REG_BINARY format. I know how to write this type of value to the registry, however what I am wanting to do, is read the exisiting value, and depending on the value that is set, change the index of a combobox. Thanks in advance. Hi sorry bout long reply time, I am still having the same troubles as before, I nee ...Show All
SQL Server Problem with simple subquery in SQL2005 AND SQL2000.
When I use the simple query with a subquery shown below, this is the error message I get in SQL 2000 AND SQL 2005 "Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression." And here is the query I use: SELECT docSections . SectionID , ( SELECT docSectionText . colText FROM docSectionText WHERE ( docSections ...Show All
Windows Forms filling treeview from xml file
how to fill my treeview from xml file Hi, Just manually parse the xml (by a XmlReader) and add the values to the treeview. Search the msdn docs for more details... Or you could load the xml in a datatable and set it as the datasource of the treeview... cheers, Paul June A. DOmag ...Show All
SQL Server SQL 2000 : Triggers
Why there can be only one instead of trigger vs. multiple after triggers. pl. discuss in detals INSTEAD OF trigger executes in lieu of the DML operation so there can be only one. And the logic in the INSTEAD OF trigger is supposed to re-issue the DML again to make the actual changes. The main purpose of INSTEAD OF trigger is to allow modifications on non-updatable views. ...Show All
Visual FoxPro Adding to a report.
Ok, i have a report that is in foxpro that came with a software called DataTrac. I can open the report and using a table list add fields to the report. The fields are labeled like following. Existing Report Field names: loan_amt borr_phone New Report fields names: gen.loan_amt gen.borr.phone So when the gen.loan_amt fields are added to the reports that for some reason dont need the xxx. part they show the same figure of every reco ...Show All
Smart Device Development Compact Framework Design TimeUser Controls
Hi, I am trying to develop User Controls that are visible at design time in Visual Studio 2005 for Pocket PC 2003. I have managed to create these on a basic level easily enough but I am now trying to add functionality from a 3rd party assembly called "GeoFramework" but when ever I do that, instead of showing the controls on the applicaiton that I am using to test them, the designer just shows a box with the name of the control in. Does anyone kn ...Show All
Visual C++ How to statically bind (link) an "ocx"
Hi Jahfer! Normally an ActiveX control is binding with an application(exe) dynamically. We need to ship the "ocx" file with the "exe" file, for distribution. My question is : Is there any way to bind the "ocx" statically with the "exe" so that I can distribute the "exe" alone Nom there is no supported way to do this. --- Greetings Jochen Hello, ...Show All
Windows Forms File Security
I am looking to save tif files to a file directory that are being used in a document management system. I would like to "encrpyt" the files with a very basic method. Is there a way to use Security.Cryptography to "wrap"&nb ...Show All
Visual Studio Express Editions DataSet control
Hello everyone I have problem with how to use DataSet control.... Also I do not see the DataSet control in my toolbox Can anybody help me how to add DataSet in my toolbox Thank you Hi, I just happen to watch a video on "Channel 9" where it showed this problem and how it works & why. It's done by Shamez Rajan. http://channel9.msdn.com/Showpost.aspx postid=138769 It’s close to the end of the show, but ...Show All
Visual Studio Tools for Office Issue with UpdateCommand
Hi, I am using UpdateCommand in my code. The code is:- OleDbDataAdapter da = new OleDbDataAdapter (selectQry, ConnStr); OleDbCommandBuilder CmndBldr = new OleDbCommandBuilder (da); da.UpdateCommand = CmndBldr.GetUpdateCommand(); da.Fill(dds, "DataTable" ); This is not working when the updating table column name is any of reserved word or column name contains space. I cud observe it is happening becaus ...Show All
.NET Development static data at process level (rather than AppDomain level)
For unit testing purposes, I would like to be able to share some data between AppDomains. More precisely, I would like to achieve the "static" semantic but at the process level (as opposed to AppDomain level). Is there some simple way to do that (simple as opposed to building a whole dedicated remoting architecture for that purpose) Is there an equivalent of the LocalDataStoreSlot at the process level Thanks in advance, Joannes Vermorel ...Show All
Visual C# Icon
Ok. I have no problem setting the icon I want for my program. But when I install the program on my machine, it has that box with a play button on it, as its icon. I do I change this Hello, Did you set the icon in the project properties (applications - resources) A single Icon can contain different sizes and color depths in one single ico file. On internet you can find applications that help you creating these icon's. ...Show All
Visual Studio Installing VS2005 Professional
I seem to remember hearing that VS2005 can coexist peacefully with VS2003 on the same computer. Is this true Also, I have SQL Server 2000 developer edition and I don't want it to be replaced with the stripped down version of SQL Server 2005 that comes with VS2005. Is there a custom installation of VS2005 that would allow me to skip the installation of SQL Server Thanks, Dave Yes VS2005 can coexist with V ...Show All
.NET Development The wrong Principal is passed to my remoted object
Hi there, This article: http://blogs.msdn.com/manishg/archive/2005/04/22/410879.aspx#436192 helped me a lot when trying to impersonate my user to my remote object. But... when I try to access my remoted server object from a web application, the wrong principal is passed. I've got a web forms application authenticating against ADAM, so when i'm logged in to the web site the HttpContext.Current.User.Identity = the ADAM user I'm logged into t ...Show All
Software Development for Windows Vista Sheduling API Feature Request
Are there plans for a task scheduling API as in SQL Server I've seen many workflow applications written as a number of EXEs just so they can use the configurable Windows Schedule Tasks similarly people control workflow from SQL server because it has a powerful scheduling ability. This would be an extremely useful inclusion as a configurable managed API . There are many tasks which need activating at certain times but also need to check ...Show All
