Maju V Poulose's Q&A profile
Visual C# How to Launch an executable from a hyperlink?
Is it possible to launch an executable from a hyperlink. Within an application I hope to create a hyperlink to a document, when the user clicks the link I want it to call a hyperlink with \\my.exe ...blah parameters, to open a specified document. Would somebody be kind enough to suggest a way to do this. The application is windows forms application and the .exe will provide a viewer for the document. The document cant be viewed in Internet explorer. I understand that there maybe some issues with security and launching an executable from a hyperlink without get the "this may harm you PC" prompt. Any implementation sugges ...Show All
Visual Studio 2008 (Pre-release) Porting/debug woes
I got past the compile errors from the move to Nov bits, but things are not all there that were there in the application using the Sept bits. Controls are missing that are in the XAML file. It looks like my immediate issue is the control library assembly finding the resource dictionary. In the old template the file generic.xaml contained the resource dictionary for the assembly. In the Nov bits the assembly attributes for locating the resource dictionary have changed to using ResourceDictionaryLocation. Apparently the file name has changed or I am missing a piece to locate the file. I tried to create a new contr ...Show All
Visual Studio Express Editions Indexing rows programatically or automatically
Hi all, I have a question regarding indexing rows in a VB database. Basically i'm starting off with a blank database that will be used to store client details such as name, address, phone etc. I have set up my first column as my identity column (and set as my primary key) that is simply the index number of the current row. Since im not sure of the best way to put the row index number into my identity column i have set up something as follows. 'Saves the new client information into the database for futher reference Private Sub SaveClientButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handl ...Show All
Visual Studio Express Editions The things I draw don't stay!
Hi all, my application involves retreiving information of pixels to form an image. I created an access database with 3 field, PixelColumn, Pixel Row and Colour. I'd then draw rectangles as pixels and fill these pixels with the corresponding colour from the database. A screenshot is available here. http://i5.tinypic.com/120mipz.jpg But if I minimize the form and maximize it again, the rectangles disappear! Is there any way I to make them stay This is a code sample of my DrawImage subroutine. ------------------------------------------------------------ Private Sub DrawImage() Dim myBrush As New System.Dr ...Show All
SQL Server What's magic about DT_STR and size 50
Okay, this is probably my own stupidity but here goes. I am trying to make a very rudimentary package. I've got a data flow that has a flat file source. This source has fields delimited by the | symbol. I give the fields in the flat file source names. The first field is always exactly 1 character. When I use the advanced editor to look at the fields' properties, I see the first field, called ProductLine, is considered to be of SSIS internal data type DT_STR with a length of 50. I change the 50 to 1 because that is as long as that field is. No matter what I do, when I close the advanced editor and then open it again, the field length for ...Show All
SQL Server How to not import a text file twice
Something I find myself wanting to do frequently is the traditional foreach loop looping through a directory of files and importing (which works great in SSIS) - Only I don't want to import data I have already imported. In a previous job I used Perl for thing like this and the structure would be as follows: For Each File: 1. Get filename and timestamp 2. Query db table with list of already imported filenames and timestamp. If Filename not in the table or is in table with older date return 1 to import or if file already imported return 0 3. Based on the result of step 2 either import or skip to next file. Any recommendations ...Show All
Visual Studio Using MS VSS with PowerBuilder
I was wondering if anyone was using MS VSS with PowerBuilder and if so, are you able to check in/out PB objects that are within an individual PBL source file either the 'same' or 'similar' as you would with the Native PB Source Control In other words, does VSS work at the object-level (and/or 'file-level') I need to be able to check in/out objects that are within a source file (.pbl) and not be in a situation where one developer checks out and locks out other developers when one source file (.pbl) is checked out. I need to be able to allow developers to work on different objects within a source file (.pbl). (Someone told me somet ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX vs. WPF
A friend of mine said that Avalon was dropped off and renamed to DirectX 10. Based on the theZBuffer.com, there is no DX10, and from what I know, Avalon has been renamed to WPF. So what's the connection between Avalon, WPF, and DirectX (10 ) Are they sharing the same code, or one's just using another's API Thanks! You are right that Avalon was the codename for WPF (Windows Presentation Foundation). WPF use Direct3D 9 to render a vector based UI. WPF is not dropped as it is one of the three main parts of WinFX. As WPF supports 3D effects you can build 3D games with it but it supports only a limited subset of the functions th ...Show All
Windows Forms Data binding non datagrid in VB.NET
Ok, Maybe I'm trippin’ but it seems to me that all the examples for ADONET 2.0 only go over datagrids. Although I think they are cool I often need to bind data to text boxes, drop downs and want to have more general control over the alternative options pre built into VB. Anyway, can someone point me in the direction of some tutorials or other information that goes over manually databinding using the newer features of AD0.NET 2.0 Thanks, Charlie Hi, When binding non-grid controls. You'll have to add a binding object into its databindings property. Here's an example: Binding myBind ...Show All
Software Development for Windows Vista How fast WF ? Sutable for UI hadling?
I want to use WF not for intercomputer WorkFlows but for handling events in WinForms GUI, but I'm in doubt - will or will not WF make GUI reaction visible slower If will, to on which degree thanks you. The answer ultimately (as with any perf question) is "it depends." I would encourage you to work up a quick prototype that matches close to the scenario you are envisioning and see if the performance does or does not exceed your needs. We just posted a sample today taht shows how you can use the Rules Engine to validate and perform some logic on a Windows Forms app, this may be a place to look i ...Show All
SQL Server deleting sql server 2005 deployed packages?
Hi there This is probably a dead easy question. I have deployed 3 SSIS packages to sql server, but now i cannot find any option anywhere to delete them How do i delete SSIS packages from the SQL Server instance they were deployed to Thanx KirkHaselden wrote: Oh, and, you're welcome for the post too Sean. :) Oi, I'm claiming all the credit for this one :) ...Show All
Visual Studio Team System Sampling/Instrumention does not work if I logged on as a restricted user.
I'm now evaluating Visual Studio 2005 Team Suite RC and have problem with performance sampling feature. When I logged on as a restricted user, launching sampling failed due to the following error: Performance automation returned the following error: : Error VSP1398 : The monitor was unable to start the kernel mode driver (VSPerfDrv.sys). 拒否 。 Profiling cannot continue. PRF0010: Launch Aborted - Unable to start vsperfmon.exe Performance automation returned the following error: : Error VSP1341 : Could not start logging engine. Shutting down. Profiler exited Error VSP1712 : Unknown file type. PRF0025: No data was collected ...Show All
Smart Device Development Mobile app which DO NOT have local datastore... stupid idea?
Hi ppl, I am new in this arena and would appreciate it if you can provide me w help/info. We need to create a mobile app which draws/submit data to our server via internet (web service) ... Since most moblie apps we've seen stores the data internally (SQL CE and etc...) and only sync up later.... is our idea of bypassing this stupid :P Our reasons for not storing the data are:- 1. We wanted to ensure all data are updated immediately. 2. We wanted to avoid downloading/storing of data to the moblie device. 3. Sync-ing ... seems like such a complicated thing.. hehehe... d ...Show All
Visual C# How to share 2.0 app/user settings across multiple projects in a solution?
I'm working on understanding how the app.config and user.config settings work (2.0 way), and everything is fine when I'm working in one project. I'm going to need a way, though, to share the app.config and user.settings across mulitple projects. So for example when I'm in "ProjectB" I need to access the namespace "ProjectA" settings... ProjectA.Properties.Settings.Default.someVar; The problem is it keeps saying that it can't accesss Settings in accessible due to its protection level. I don't see why if I've added ProjectA is a project dependency for ProjectB and added the reference to the ProjectA namespace, why I can't 'see' the Settings ...Show All
SQL Server SQL Server 2000 sign-on to 2005
Good morning, I'm wondering if it's possible to connect to SQL Server 2005 from 2000 I'm having no trouble going from 2005 to 2000 but I can't seem to connect the other way. Any help would be apprciated. Thanks, Yes, it is certainly possible to create a linked server from a 2005 server to a 2000 server. I have one set up on this end, with no problems. What issue are you having -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- <Bill Fuller@discussions.microsoft. ...Show All
