Billy2005's Q&A profile
Windows Forms Accesing selected text in other application
I'm running a Tray Application which gets on focus when a hotKey is pressed. In a few words, the user will select a piece of text in any application (IE, word, acrobat, or any custom application), press the hotkey registered by my application, and the application should be able to read and display the selected text. Could anybody guide me to accomplish this Is it possible Thanks, Seb. Could you please explain how that activewindow something works You see for a project I'm running, I'm trying to get the active window using C#. If you can...thanks :) Greetz Ravashi ...Show All
Visual Studio Express Editions how to align in excel using vb
Hi. My program is writing data to excel file. I want to know how to align text in columns, change cell background color etc. Where can I find information about that xlws.Columns(1).VerticalAlignment = Left doesn't work thanks Use my suggestion. It should show you exactly what the supported values are. Depending upon what you are coding in you may need to make sure you have a reference and have the namespace imported. ...Show All
.NET Development Accessing a password protected file.
Hi; Note: While our specific use is ASP.NET, this is a general "reading a file" question. Our ASP.NET application allows a user to give it an XML filename and the app then opens that file as a datasource to generate a report. The issue we face is we do not want the file opened using the credentials of the user that our ASP.NET app is running under for two reasons: The ASP.NET user may not have access to \\hr\payroll\salaries.xml but the person requesting the report does. The ASP.NET does have access to Web.Config but the person requesting the report does not. Our app supports both forms and WindowsIdentity as an authtication/authorization method. So we do not have the client identity to use if they are usin ...Show All
Software Development for Windows Vista previewing Video From Capture Devices on a network
Hello, i want to preview video from a camera via a network ( an analog camera and capture card) with DirectShow Please help me or give some references, actually some quick reference (I don't have enought time) Thank... Hi, Some time ago I have made an application which uses DirectShow to preview, capture and stream over a network video from a capture device. If you want to see the demo or get some info about video streaming write me an email: bartheq at poczta dot onet dot pl. Best Regards, Bartek Wlodarczyk ...Show All
SQL Server Variable Length Procedure Arguments
Is there any way to have variable length arguments for stored procedures - kinda like how there is in C/C++ For example, if I wanted to send 2 arguments at one time, and then at another time send 7 to the same procedure, is that possible THERE IS NO ARRAY DATATYPE IN TSQL....BUT U CAN MAKE USE OF TEMP TABLE..OR TABLE DATATYPE...u can insert the params into either of these and then use them is SP...probably use a runner SP to call this SP.... ...Show All
.NET Development Could not find installable ISAM.
I got the "Could Not find installable ISAM error" while uploading an Excel file in my application. The connection string uses the Microsoft.Jet.OLEDB.4.0 provider with following parameters Provider=Microsoft.Jet.OLEDB.4.0;Excel 8.0; Extended Properties=HDR=No; IMEX=1. I checked the registry entries as mentioned in the "Retrieving Data from Excell 2003-Could Not Find installable ISAM" post and even registered the "Msexcl40.dll" again. Even then I got the "Could Not find installable ISAM error". So I restarted the IIS Server. Even then the problem persists. What else could be the problem Thanks and Regards, Little You can have multiple versions of the Je ...Show All
Visual Studio Team System Licensing Question
Can anyone tell me if I am correct about the following 1) For those owning Visual Studio Team Suite, there will be no cost for Datadude. 2) For those owning any other version of Visual Studio (Professional version and higher), there will be a cost for Datadude. If #2 is correct, can anyone tell me what the cost will be Our development team is using Visual Studio Team Edition for Software Developers. My understanding is that we will need to pay for Datadude. I am try to plan for the expenditure. Thanks - Amos. My gosh I hope you are mistaken. We have eight developers on our team, and they all make their own database schema changes, and would all need a copy. At $3K per seat, on top of what we p ...Show All
Visual Studio How to add a winforms textbox value dynamically to a rdlc?
I would like to know if anyone knows how or if it is possible to add a textbox to a windows form and have the value typed into the textbox displayed on a rdlc upon rendering the report (reportviewer.localreport). I am trying to allow a user to add header titles and dates to the report without having to add the values to the database and call them through the dataset. this is a vb windows application (VS 2005). Thank you, Allen Simmons I have tried parameters, parameters become part of the query. I would like to just allow the user to type data into a textbox and on the button event take the text from the winforms textbox and , for lack of better terminology, copy that text to a rdlc textbox. Example: I have some ...Show All
Microsoft ISV Community Center Forums Executing code off of a cell update
Is it possible to execute code for the purpose of formatting any time a cell is updated For instance, if I want 8 different formats for a cell given certain conditions Is the only way to do this with a timer then just fire the code ever minute or so Yes, absolutely, and there's no reason to involve a Timer in this. Add this code to the relevant Sheet module of your workbook: Private Sub Worksheet_Change(ByVal Target As Range) Select Case Target.Value Case "red" Target.Font.Color = RGB(255, 0, 0) Case "blue"   ...Show All
SQL Server OLAP calculated membres and Report Model/Builder
My question is related to Report Builder but my data model is build using OLAP database so I am posting my question in OLAP group in case this issues is related to OALP side. I have OLAP database. There are 5 cubes and one linked cube. My one linked cube has mapped all 5 cubes (like virtual cube in AS 2000) I am using AS 2005. In my linked cube I have calculated members. I created a Report model using my olap database in reporting services. In report builder I am not able to see my calculated members when I select linked cube. Is there any thing I am missing Thanks for help - Ashok I think this may be related to whether the calculations are associated with a measure group. The Report Model only ...Show All
Audio and Video Development Question about audio fingerprinting
hi, The only information I can find about Audio Fingerprinting is in WM10 it is done using metadata and in WM11 it is waveform fingerprinting. I have tested that and its working fine. But is there any literature on fingerprinting and is there any API for fingerprinting (finding id3 tag, album art based on waveform fingerprint) Thanks, kalyan This forum focuses primarily on Media Foundation, which is the new multimedia platform for Windows Vista. Since your question has to do with the Windows Media Player, you might want to try posting it to the Windows Media Player newsgroup, which you can get to from here: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx d=1 Becky ...Show All
Windows Forms using for each
how do i use for each like that Array.ForEach( Me .ds.Tables( Me .tb1name).Rows(i).GetChildRows(relationname), _ ) now i want to compare fields amount in both tables.. there is relation, but one table contains the sum(amount) and one contains each record. . so i want to chek if all rows amount in grid1 is equal to their respective amount rows sum in grid1 .. Basically how do i iterate parent, children tables most efficiently the relationshion is straight forward like this. : i need to compare each row in table 1 on to all its child rows in table 2 ds.Relations.Add(relationname, _ dt1.Columns( Me .CostingDataSet1.Bill.multiplicityIDColumn.ColumnName), _ dt2.Columns( Me .CostingDataSet1.Bill.multiplicityIDCo ...Show All
SQL Server unable to choose server type as 'SQL mobile server'
Hi, i'm running Microsoft SQL Server 2005 express edition. I'm trying to create a new SQL server mobile database for my smartphone. when i launch Microsoft SQL Server 2005 express edition, i was prompted to connect to a server. But i can't choose Server Type as 'SQL mobile server'. My server type is greyed out as 'Database engine'. i've already installed SQL server mobile SDK and SQL server mobile tools. i was following this guide : http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/road03242004.asp My 2nd question is how do i go about exporting a desktop version of a database to my smartphone I need to convert it to the mobile version first right Any help would be greatly appreciated!! thanks!! ...Show All
SQL Server how to set the disable property at runtime for sequence container
I have a package that contains multiple SEQUENCE CONTAINERS, each execute a bunch of tasks. I try to use the script task to dynamically disable or enable each of these SEQUENCE CONTAINERS base on parameters that pass in from parent package, but for some reason, I can’t set the disable value to True/False at runtime. Anyone knows how to do this The Disable property is not accesible from script task. However you can use property expressions in the sequence containers to set the disable property using a variable and in your script task set the variable to True/False Thanks, Ovidiu Burlacu ...Show All
SQL Server Import/Export data with SQL Server 2005 Express
Hello folks! I have installed SQL Server 2005 Express and SQL Server Management Studio Express. Everything looks ok and works fine, but I can't find the Data Import/Export Wizard. Can anyone tell me how to Import/Export data Thank you!!! Wolfey305 wrote: If you have MS Access, you can simply export directly to your SQL Server data base by creating an ODBC link. You will have to export the tables from MS access one at a time but once the ODBC link has been created it takes only seconds to export individual tables. Before you start exporting make sure you have a data base in SQL where you want to export to. Open your data base in access Right click on the table you want ...Show All
