Mark 2334's Q&A profile
SQL Server raiseerror does not raise exception
Hi friends i've a stored proc (sql 2005) that'll raiseerror statement when something violated. but my C# application that calls this stored proc does not any throw exception when this happens !! i remember visual basic used to through an exception for this type of things. is it different in C# and how do we handle this scenario Thanks for ur ideas. Hi prk, You'll need to specify the severity and state during the RAISERROR call: raiserror (@ErrorMessage,16,1) Cheers, Rob ...Show All
.NET Development Windows Vista x64 Conexant Audio Driver Problem
I Have a gateway Laptop, Model number MX6437. AMD Turion64 processor, ATI Radeon Xpress 200m Graphics, 1 Gig of Ram (upgraded from 512). I Downloaded The Windows Vista Beta 2 x64 bit Version. It installed ok, but I have Found I have no Sound driver. I have Tried Windows Update, no luck. I Have Also Rebooted my pc and pressed f8 and turned off the Assighn digital signiture. Rebooted, Still no sound. I have tried Drivers that people on here have recomended but still no luck. Even the ati south bridge driver. every time i do an install on thier recommended driver they say worked for them, i get an error message saying: error installing software. The specified file cannont be found. I still have a red x in the sound icon. I have a conexant aud ...Show All
Smart Device Development 850428 - strh instruction
how can i tell embedded visual c++ not to produce strh, str, ldrh and ldr instruction, never ever in any part of my code this will solve the alignment exception very easily. i don't mind about the performance of my program. i prefer it to be reliable. i don't need MS to decide for me! i need an option not to use benefits of technology! i need an option to tell the compiler not to produce these instructions. how can i do that Could you possibly include a code snippet that demonstrates the problem as you see it I am having a hard time visualizing it - it'd be easier to speak about something I can "touch". ...Show All
SQL Server Paging in Business Intelligent Reports
I have finally been able to create a simple master detail report of the records in the database. Is there any way to create a new page after each record, or to keep a record all together on the same page It took me two days to get SQL Express installed properly so I could get this simple report. They don't make it easy. Any help would be appreciated. Thanks Cal I'm going to move this question to the RS forum, they'll have specific advice about writting reports. (we're working on the BIDS install issue in several other threads) Mike ...Show All
Windows Forms set focus to next cell on press of ENTER key in datagrid in VB 2005
In datagrid in VB 2005, how can i set focus to next cell on press of ENTER key. Right now, by default it work by pressing TAB key. A new row must auto insert after pressing enter on last column of that row. Alex There is a sample on the vb-tips website ...Show All
Smart Device Development Fail to create SmartDevice project in VS2005
I've just installed VS2005 for the purpose of developing apps for the Windows Mobile 5 platform. Unfortunately, when creating a new SmartDevice project (ATL, MFC, Win32, etc); the creation either fails with no error or, more commonly, displays an error of "Object required" on line 4033 (which I assume is in the scripting code used by the wizard). FYI, I have IE7 installed. http://blog.markarteaga.com/IE7AndVS2005.aspx seems to indicate that IE7 and VS2005 have a compatibility problem. I followed the instructions on this link but still nothing's working. Anyone know what I can do to fix this Thanks much ...Show All
Visual C++ after I upgrade my dll vc2005 project, can I use the dll of vc2005 in the previous vc6.0 big project?
I am upgrading a vc6.0 project including a lot of dll and lib to vc2005 project. I wonder if I can use the dll and lib of vc6.0 project in vc2005 project On the othe hand, after I upgrade my dll vc2005 project, can I use the dll of vc2005 in the previous vc6.0 big project I thank you here in advance Don't try that unless you are planning to just have fun! If yours is going to be a serious application, you should have all dependencies on the same version of VC. I once tried to use VC7.0 LIBs in VC7.1. And spent days in resolving some issues which latter came to be know as "Compiler incompatibility at the binary level" as someone at Autodesk put it. Microsoft does not support that kind of stuff. ...Show All
SQL Server How do I create a Integration Services project programatically???
hi everyone, My vb .net app creates programatically a package. I mean, you can provide name, description, number of OLEDB/ADO connections, variables and so on, where it's stored, from a WinForm. Up to the moment, process only creates boxes separately wihtout links. My concern is after this successful cycle I only can open that DTSX and see its components but executing button is disabled (only possible with DTEXECUI.exe) from BIDS. Only when I create a project (DTSPROJ) and then I put that same .DTSX inside I am be able to execute it. Well, up to here all of this is very good. Things were created this way for some reason. My question now is how do I from my application in order to create dt ...Show All
Visual C# Exception Performance
Hi I have a method and there are chances tht exception will occur so i catch the General Excepion(i dont want to catch specific exp) catch (Exception xx) { //Do some thing.. } Since xx is not Used its giving a warning to avoid tht i replaced with empty catch. I need to know wether the empty catch is a performance overhead. catch { //Do some thing.. } Since i need to catch all exceptions which is the best choice.. You can replace: catch { ... } with: catch (System.Exception) { .... } to remove the warning. The only difference is that the first catch allows you to catch non-CLS-compliant exceptions (though you can't do anything with them). ...Show All
Visual C++ Multiple Regression
Good afternoon everyone, I am maintaining software which does statistical analysis. Currently, the code is in VC++ 6, although I am in the process of migrating the entire project to VS2005 C#. At the moment, I need to add a chunk of code which will perform a multiple regression statistical analysis to the VC++6 code. What C++ libraries can I use to perform the analysis I looked at the Gnu Scientific Library (http://www.gnu.org/software/gsl/#platforms), but that seems to only compile under cygwin and unix. My google searches turn up nothing. It's really a very straightforward calculation: a least-squares best-fit for multiple variables. Excel does it quickly and simply. Can you recommend a good statistics library that will work for me Than ...Show All
.NET Development remoting sample
Figure out why this tcp remoting sample isn't correct! http://msdn2.microsoft.com/en-us/library/ms173030(VS.80).aspx ...Show All
Windows Live Developer Forums ERROR: 'footer' is not defined
hi... while doing some performance tests for setting 'big' (100-1000) amounts of pushpins on the map I ran into the error: 'footer' is not defined. this happens in both IE and FF, but I'm not really able to reproduce it :-( however both browsers outline that the error happend within the external js file where the VE API resides! did anyone of you ancounter the same error knows how to solve it or at least how to reproduce it thx in advance for any kind of help or feedbak! cheers hafi the var footer = null; fixed also worked for me. ...Show All
Visual Studio Retrieving "active" data connections
Greetings everyone (or anyone), I am writing a little add-in and I am trying to figure out how to do something that I think should be simple: I want to retrieve the connections that are listed in the "Data Connections" in the Server Explorer. I can obviously access the UIHierarchy but what I really want is actually the connection(s) itself or the representation for the connection(s). Say the user has already defined a couple of data connections, I would like to get them and have access to the properties of the connection such as the connection string, and then access the field properties (isIdentity, etc). Essentially imagine that I am writing a custom properties form that shows the same information that the "Dat ...Show All
Software Development for Windows Vista Missing data after passing an object into a workflow instance
Hi, I have encountered a very strange problem. I am developing a workflow with web service activities, I am passing an object from my client through my workflow exposed web service and saving the object into the database. When I debug and look at the state of the object within the workflow it is missing data. I have checked the state of the object from within the web service (by overriding the workflow web services methed in a derived class) and the state is complete at that point. So it is just the trip into the workflow instance that is causing the problem. I understand that passing objects into a workflow instance uses a queue and that the object is serialized / deserialized using binary serialization during this process. With thi ...Show All
Customer Care Framework CCF Demo Applications
hiiiiiii alll I have installed CCF 2005 .now I need some samples to develope it if any one have CCF Demo Deployment Guide.doc CSR Demo Deployment Guide.doc BAAM Demo Deployment Guide.doc please send it to me by mail DavidNHND@yahoo.com Hi David, All sources are provided for the sample applications we ship, including the Agent Desktop. When you downloaded the file from MSDN (or via CD) and extracted it, the samples and sources are in the \installdir\sourcecode\Microsoft.CCF.Samples folder. Let me know if that's not the case and we'll investigate if you got a bad download or bad media. I pulled the file down last week and extracted so I know ...Show All
