JamieH79's Q&A profile
Visual C# RTC API 1.X SDK
Hello Everybody, I installed the RTC API 1.3 and then 1.2 SDK but I cannot find it as a refference to add in my project in Visual Studio 2005. I know that this api is primarly for VB and C++, but I just need the libraries in order to create VoIP SIP phone...Does anyone know how to point to the RTCDLL.DLL, it's simply not there, not in the system32..i used guide from http://www.supinfo-projects.com/en/2004/rtc_api/1/ but I cannot locate this library... Please help... Regards, Alen ...Show All
SQL Server Char Trim
Hi, I imported records from text file using BCP, in one column I am seeing blank space in starting as well in end. I printed the ASCII code it turn out as 32. But when I tried to trim with LTRIM and RTRIM it didn't work. I tried to replace the character using REPLACE witn no avail. Please help. Thanks. Thanks a lot, Reason I put Len() function cause we do have some rows where MB was missing so what I did I concanated 'MB' and use ChartIdex -1 and it is working now !!!! All along I was looking at wrong place to resolve the problem. Cheers. ...Show All
Visual Studio Tools for Office VSTO Seem Broken After SafeGuard Easy install
I was forced to install a product by the name SafeGuard Easy (a whole disk encryption system) on my development PC at work and since them I have been unable to run my VSTO excel projects. SafeGuard Easy evidently has some kind of issue with Visual Studio 2005 as I was required to removed Visual Studio before SafeGuard would install. After SafeGuard was installed, I was able to reinstall Visual Studio, its service pack and VSTO 2005 SE but now excel addin projects do not launch. As far as I can tell, the addins for excel simply are not loading. The new() method in the code behind is not firing but there are no error messages either in excel or Visual Studio. 1) I've looked at the security settings for excel and they seem correct 2) I've lo ...Show All
Smart Device Development Saving State...
When I try to 'save state and exit' from file menu, the message SAVING STATE... is displayed but nothing seems to happen. SAVING STATE... does not disappear and nothing is saved. I have tried device emulator V1 and V2. NK.bin is made using device emulator bsp, but I also tried SMDK2410 bsp - with the same result. Any ideas Can you please verify if you are passing '/s' option PB doesn't pass this option by default. If yes, please send the command line using which emulator is launched. -Thanks, Mohit ...Show All
Visual Studio Team System T-SQL colour highlighting
Quick one. I've just noticed that certain fuctions such as: SUSER_NAME() CURRENT_TIMESTAMP probably alot of others (maybe all of them ) show up as pink/purple in SSMS which is useful because it differentiates them from other keywords. In datadude these show up in blue, the same as all the keywords. Can that be changed to be more like SSMS -Jamie Hi Jamie Thanks for the feedback. Can you log a connect bug on this. We can't do anything on this for the V1 release but this is something that we can look into, for future releases mairead PM, TS Data ...Show All
SQL Server 70-431 (MCTS - SQL 2005)
Hi, Somebody can speak (tips) about exam 70-431 Tips Amount Questions Time .... Hello everyone, I would like to let you all know and be aware of the fact that microsoft has changed its exam pattern for 070-431 be very carefull as microsoft has changed the exam pattern and due to which i failed the exam today. Its now based on simulations questions which comes after the multiple choice questions i got 15 simulations separately apart from 35 multi choice questions along with exibits. I wasnt aware of this fact and it wasnt mentioned anywhere about simulations questions I think no one knows about it I am the first to face this type of exam.. The exams comes up with 2 sections the firs ...Show All
Windows Forms Is there an alternative way to use large datagridviews?
Hi. I was wondering if there's a way to utilize the DataGridView and to display a large dataset on screen. The problem is that my program has to work with a transposed dataset, so the datarows are vertical. I got a nice function from The CodeProject which takes a DataSet and returns a new Dataset where the rows/columns swap roles. It is great, but I have a little bit of a dilemma. The DataGridView component in .NET2.0 (i'm using VS2005 pro/C# by the way) has a limitation of not coping with a large number of columns (655 is it's limitation due to something called the FillWeight - which I've had no luck modifying or understanding). I've had an idea, but not sure whether it will work. If someone can study this and liaise with me ...Show All
Visual Studio Express Editions Problem with _lseek - Debug Assertion Failed!
I have recently downloaded/installed VC++ 2005 Express on a computer with no previous VC++ software on it. I followed all the instructions listed at http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ and can get my solution to build. However, when I run it (F5) I get a "Debug Assertion Failed" Error. Debug Assertion Failed! Program:... File: lseek.c Line: 66 Expression: (fh>=0 &&(unsigned)fh<(unsigned)_nhandle) If I hit Abort it gives the output: ... 'lseek_example.exe': Loaded 'C:\Program Files\McAfee\SpamKiller\MSKOEPlg.dll', Binary was not built with debug information. 'lseek_example.exe': Loaded 'C:\WINDOWS\SYSTEM32\VERSION.DLL', No symbols loaded. 'lseek_example.exe': Load ...Show All
SQL Server Current package reference.
hi Iam developing a custom ssis source component, in that i need to get the reference of the current package where this component is added. I can get get the reference of the current package using this line of code Microsoft.SqlServer.Dts.Runtime. Application app = new Microsoft.SqlServer.Dts.Runtime. Application (); Microsoft.SqlServer.Dts.Runtime. Package pak = app.LoadPackage(@"C\DTS\Package1.dtsx" , null ); Here i need to pass the path of the package. Is there any other way to get it (without the path) Thanks Mani This is where being clear in what you are trying to do and when will help. As I think I have pointed out there is no way or any need for you to enumer ...Show All
Visual C++ Activex control created using ATL wizard
Could you please help me create an Activex Control that is invisible at runtime I have selected the invisible at run time option which results in DECLARE_OLEMISC_STATUS(OLEMISC_RECOMPOSEONRESIZE | OLEMISC_INVISIBLEATRUNTIME | OLEMISC_CANTLINKINSIDE | OLEMISC_INSIDEOUT | OLEMISC_ACTIVATEWHENVISIBLE | OLEMISC_SETCLIENTSITEFIRST ) the above flags being set, I have not modified the ondraw function the activex functions correctly but is allways visible at run time or design time, best wishes Nick. A few more details, I followed Calvins instructions to create this control http://blogs.msdn.com/calvin_hsia/archive/2006/08/28/729165.aspx the difference being that I need the control to be invisib ...Show All
SQL Server Sum on a many to many cube
I have a cube which totals hours worked by pay codes. Each paycode can be marked as productive, non-productive, overtime or standard, etc.. Paycodes can be marked with any combination of these (certain combinations wouldn't make sense but are allowed). Ex. of data: PayCode Hours REG 1 REG OT 3 NP 2 NP OT 1 NP OT 3 PayCode Type REG Prod NP NonProd REG OT Prod REG OT OT NP OT NonProd NP OT OT So I am trying to get a calculated measure for the OT or NonProd which in this example is 9. But I am getting 13 because of the NP and OT being counted twice. Thanks for the help, Kevin Hi Kevin: My mistake about assuming you had a caclulated member. In your first po ...Show All
Smart Device Development Connection Manager Behaviour !!
I was wondering, how exactly does the connection manager work. Let me describe a scenario. My application was using GPRS to connect to internet and do its business. Now the user enables WiFi and is connected to a WiFi network. so what will happen now. The connection that my app used was made with GPRS, and now that we have WiFi up, new connections will be made with WIFI and my old connection made using GRPS will also live, am i right or is this not the way connection manager will work regards When you request a connection you pass a Guid of the network to connect to - if this is the standard internet destination guid then both the GPRS and WiFi connections should provide a route to this network. Therefore if WiFi is actively connect ...Show All
Visual Studio Build macros no longer working after upgrading from VS 2003 to VS 2005.
I have a long and arduous deployment process set up, and although it took me a while to get all the kinks out, it was all finally working just great for many months.... and then I upgraded to VS 2005. Part of this deployment process involves building my solution (obviously) using a macro. The code I use to do that looks like this: DTE.Solution.SolutionBuild.SolutionConfigurations.Item( "Release" ).Activate() DTE.Solution.SolutionBuild.Build( True ) ...again... this worked just fine... for a long time. But now that I'm on 2005, it doesn't seem to want to work. And that's not to say that it gives me any errors... oh no... that would be way too convinient. It just runs, but doesn't really do what it's supposed to. After runni ...Show All
.NET Development Time zone conversion problems
Hi, I'm trying to parse a date time string that is always in ET time zone. The resulting time should be converted to local time. I could do that by backadjusting the ET time and converting to UTC. However, the issue is that I don't know if ET is currently in DST or not, so that I don't know how many hours I have to backadjust. Is there a framework built in way to get the UTC offset for any time zone Thanks, Tom The problem that I'm facing here is that the time I get is in ET. To convert it to local time I need to get the timezone offset from ET to UTC at a specific data (as the offset changes during the course of the year). However, I don't know how I can find out if ET is currently in DST or not ...Show All
Visual C++ CUBE Sample: Demonstrates an OpenGL Application
I'm trying to compile and run the OpenGL sample, CUBE, from MSDN ( CUBE Sample: Demonstrates an OpenGL Application) without any luck. I've tried it in Visual Studio 2005 and Visual C++ Express Edition. Clicking build does nothing in 2005 and gives a skipped message in Express. Selecting Project -> Properties does nothing. I suspect the project is MFC and so won't build in Express. However, I would expect it to build in 2005. Could the project be corrupted, or is it intended for an earlier non-compatible version of VS Is there a fix or workround TIA I have tried running this example as well, but it doesn't matter if I change it from Itanium to win32, or x64. It still won't compile. Here is the build ...Show All
