Software Development Network Logo
  • Smart Devicet
  • Game Technologies
  • Windows Forms
  • SQL Server
  • Visual C++
  • Microsoft ISV
  • Visual C#
  • Windows Vista
  • SharePoint Products
  • VS Team System
  • IE Development
  • Visual Basic
  • .NET Development
  • Visual Studio
  • Visual FoxPro

Software Development Network >> JasonG271009's Q&A profile

JasonG271009

Member List

pigi76
seco
Jonathan Abbott
Ram Pratap
Ashish Dwivedi
IceAngel89
Yitzhak Steinmetz
bigbob
kjell nilsson
Michael_Shao
Milesw
cjacquel
Vladimir Chtepa
sreejith s
Margaret H
lezi
Fran Garcia
JRMcFetridge
waheyluggage
shakalama
Only Title

JasonG271009's Q&A profile

  • SQL Server SQL CE Err 80004005 "Unspecified Error"

    Gday. I'm writing a PDA app which has an SQL CE database on the storage card. Under certain circumstances, I get an Error Code 80004005 ; "Unspecified Error" exception (henceforth referred to as "The Error". I can write to a certain table (the only one which has a problem) many times on the first run of the app since the database was created. However if I exit and reload the app, the error starts hapenning. It does not go away until I delete the database and re-create it. The database has a password (I've tried with and without this to no avail) and the temp file is being stored on the Storage Card (the PDA itself doesn't have enough memory). I have been extensively searching the net for existing solutions. I found this ...Show All

  • Visual Studio Tools for Office Unable to cast COM object of type 'System.__ComObject' error

    Hello all, I have created an add-in which adds user properties to appointments. When I try to recover these user properties from the calendar of other users, I use the find method to recover all the appointments between a period of time of 3 months. Then, I browse the results to find if the properties meet the criteria, I have the following error : Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.AppointmentItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}' failed due to the following error: Not such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Thi ...Show All

  • Software Development for Windows Vista [BUG] Vista doesn't start application called "install" w/o being elevated.

    Hi, I just encountered this really strange behaviour, which is definitely a bug in Vista. Consider the following situation. You're logged in as an administrator account. Start a CLI shell of your choice, start it normally, so that it's running non-elevated. Now consider a console application called install.exe. It's neither a GUI application, nor is it an installer application in the Windows sense. It's just called install.exe. In my case it's part of GNU coreutils and it's called install because it's usual task is to install software on the system. However, it's perfectly valid to call install as normal user and use it to install stuff into a subdirectory on which you have permissions. This is what happens when running under Cygwin (proce ...Show All

  • Visual C# Autogenerating Snippet

    Is there a way, to autogenerate a snippet, without any user-action necessary I want to create a class-name-depending snippet creating code like that: public class Person { public static void MethodWrapper() { DAOPerson.MethodWrapper(); } [TableName("Person")] public static DAOPerson ProcedureCall() { return DAOPerson.DoSomething(); } } so i will have to create following snippet, when i want to insert to method-code: public static void MethodWrapper() { DAO$ClassName$.MethodWrapper(); } [TableName("$ClassName$")] public static DAO$ClassName$ ProcedureCall() { return DAO$ClassName$.DoSomething(); } What i want is: When I'm in the class Person, "calling" the sni ...Show All

  • SQL Server a strange problem with RDA

    Hello, I have written a program for WinCE with .NET. In one of the forms, program gets data from the sql server with RDA. It works fine..the users get data.one two three.....but at 16th or 17th or 18th try an error occurs: "SQL Mobile encounteres some problems..." What does it mean It gets data 15 times but after that it gets error....What is the problem with that I'm really confused... Thanks in advance. ...Show All

  • Visual C# diff between Application.Run(new Form()); & Form form = new Form(); form.Show(); ?

    can anyone explain, what the difference between Application .Run( new Form ()); and Form form = new Form (); form.Show(); The second displays a modeless form. The first sets up the necessary infrastructure to properly run a Windows app. Your main entry point should always use the first case. Any form you display within your application beyond the main form should use the second case (unless you want it modal, in which case you use ShowDialog ). The application object does a lot more than just display your form. It sets up unhandled exception support, handles app shutdown when the main form is closed and a variety of other things. Michael Taylor - 2/15/07 http://p3net.mvp ...Show All

  • Visual C++ static *int c;

    hi, i am having this declaration with me .. i am not able to understand what actually dis means.. static *int c; .. it compiles properly with a warning : warning C4518: 'int ' : storage-class or type specifier(s) unexpected here; ignored. what is this i am not understanding.. please help manish You are using an old compiler, probably VC6, which is a lot more "sloppy" when it comes to accepting declarations than the newer ones. Upgrade to VC2005, and this problem will go away. ...Show All

  • Smart Device Development HCI_EstablishDeviceContext failed with service not active

    .Welcome {font-size:x-small;margin-top:15px;} .Welcome p {font-size:80%;} .Welcome ul {font-size:80%;} Hi, I am trying to use the HCI layer function to but the HCI_EstablishDeviceContext return 1026 which is service not active Any tips Thanks. Lin ...Show All

  • Visual C# Form.Close() or Form.Dispose()????

    I am trying to figure out what i need to do too well let me explain differently.....I have a login in form then once i login a new form comes up with some information in it but the login form is still there.....So my question is How do i get rid of one form when the new one is loaded You should be fine with just calling Close() on the form to close it unless you've got some resources that the form uses that you need to explicitly clean up in which case calling Dispose() afterwards to do so would be good as well. ...Show All

  • Software Development for Windows Vista how to encrypt/decrypt the wireless key when using

    I would like to set and get wlan profile to the wireless card driver. I using the wlanapi.dll and get profile success. How to encrypt the key material when setting profile How can I find the document or sample about this topic ...Show All

  • Visual Studio Team System How to check the variable i in circulate

    Hi everyone: In my rules want to check the variabe i in circulate .but how to check it can you give me some help int i32Return = 0; for (int i= 0; i < 100; i++) { i32Return += i; } I want to check the cycle variable i --Tiny ...Show All

  • .NET Development [C#2005] Obtaining the "default gateway ip"

    How can you get the default gateway ip in c# In my previous post we got the wan from whatismyip.com.. I can check the lan ip with : String strHostName = Dns.GetHostName(); IPHostEntry ipEntry = Dns.GetHostEntry(strHostName); IPAddress[] addr = ipEntry.AddressList; txt_lanip.Text = addr[0].ToString(); BUT I NEED TO GET THE DEFAULT GATEWAY as when you do ipconfig : see below: THANKS AGAIN ! To all (but Ill be back only in the morning... I zzzzz a lot now!!) IP Address. . . . . . . . . . . . : 192.168.0.10 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Hello madlogik, public void ListIP() { ManagementClass objMC = new ManagementClass( " ...Show All

  • Visual Studio Prompting database Login

    Hi, i developed one windows application with VB.net,SQL Server database on windows 2000 system. i have some crystal reports in it( no sub reports). In my Development system every thing is fine including Reports.I created the setup and deployed the application in Windows XP system with MSDE database. Now my application is working fine except Crystal Reports. after deployment, when I try to see any of my reprots, I'm prompted to enter database login... I have a window with TableName (Command), and Server Name, Database, Login ID, and Password. I have added the following merge modules already: Crystal_Database_Access2003.msm Crystal_Database_Access2003_enu.msm Crystal_managed2003.msm Crystal_regwiz2003.msm (licence key is set to the public ...Show All

  • .NET Development version details

    How can i set the version in my application I mean when the user right-cliks the exe to see details about version number,and other details. well you can view the Assembly.cs file in your project and change the version number in there. You could also auto-increment your app version on builds: http://www.codeproject.com/dotnet/Auto_Increment_Version.asp doing it in the project properties may have the same result as editing it in the Assembly.cs file but not sure. (right click project > properties > Application > Assembly Information) http://madeinexpress6.spaces.live.com/blog/cns!8076FD6240024571!157.entry http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=854190&SiteID=1 ...Show All

  • Visual Studio 2008 (Pre-release) Sorting an ObservableCollection<T>

    I was recently using a List<T> to keep track of my data, but we had to move to an ObservableCollection<T> because it will eventually be used in binding to a UI. I was using the List<T>.Sort(IComparer<T>) to sort the list, but it appears that ObservableCollection<T> does not implement this. Is there a way to sort it or do I have to do that manually It seems odd to have to redo this work that clearly is already implemented in .Net but I can't seem to find a way to do it. I figured it was worth asking about. Thanks for the help. You can sort it on UI level thru CollectionViewSoure . ( http://msdn2.microsoft.com/en-us/library/ms742542.aspx ) ...Show All

©2008 Software Development Network