Software Development Network Logo
  • .NET Development
  • Visual C#
  • VS Team System
  • Microsoft ISV
  • Visual C++
  • Visual Basic
  • Architecture
  • Windows Live
  • Windows Vista
  • SQL Server
  • Windows Forms
  • Visual J#
  • Smart Device
  • Game Technologies
  • Visual FoxPro

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

JustinCase864

Member List

ruben_ruvalcaba_camba
JOD
kodeci'
sara8dev
Netmon
Holy Eggplant
HugoC
CampAlbion
simon burgess
Tom Anderson
SteelX
Beaulieu
Gus Cortes
orcrist4
Bryan MacFarlane MSFT
Chris Donnelly
Thomas OHanlon
Noremac
.Net Junkie
SeRya
Only Title

JustinCase864's Q&A profile

  • .NET Development GetOleDbSchemaTable question

    Hey all, I was wondering about the GetOleDbSchemaTable method of the OleDbConnection class. The parameters that you pass in are confusing me, could someone please explain to me the parameters: Guid Schema and object[] restrictions Thanks for the help The Guid Schema parameter is described here: OleDbSchemaGuid Members http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdataoledboledbschemaguidmemberstopic.asp The valid values for the restrictions array depends on which Schema you pass in. For example, let's say I want to get metadata information for all of the col ...Show All

  • Visual C# Add default formatting to new classes

    Is there a way to set up the IDE to include some default comments / formatting when a new class is created It is possible by creating addin for the Visual studio IDE, using addin we can control the operation's of IDE for more information on addin please look these link http://www.c-sharpcorner.com/Code/2002/Oct/AddIns.asp http://msdn2.microsoft.com/en-us/library/5abkeks7(VS.80).aspx ...Show All

  • Software Development for Windows Vista Code samples for Workflow Designer hosted outside of VS.NET environment

    Does anyone know where I can get the sourcecode for the following link http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/wf_samples/html/55925adf-2daa-4dc2-b1bf-61aa0190d734.asp The View Code link does not work and I do not see how to download the code. Sincerely, John Portnov You should be able to find the sample under Technologies\DesignerHosting in Samples.zip which can be found at %ProgramFiles%\Microsoft SDKs\Windows Workflow Foundation. ...Show All

  • Windows Forms main menu font size

    How do I change the font size of a main menu or context menu ...Show All

  • Visual Studio Tools for Office Outlook accounts

    I'm creating an Outlook AddIn, and I just want to retreive a list of all accounts in Outlook. Does someone know how I could do this. TIA, Isabel Isabel, You need to use the Outlook 2003 Integration API: http://msdn.microsoft.com/library/default.asp url=/library/en-us/olintapi/html/OverviewOlintapi_HV01155862.asp It is also helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. So you will be best served by posing this question to a forum or newsgroup wholly dedicated to application-specific issues such as th ...Show All

  • Software Development for Windows Vista Problem with SQLStatePersistence

    I added the sqlpersistence service to my Workflowruntime (with a valid connection string). I have two events that i will trigger: SubmitEvent, and ScanEvent.. When I call my submit event the workflow gets to a new state where it is waiting for the scan event..\ At this point the workflow instance is idled. Now when I raise the ScanEvent with the same instance ID i get an error EventDeliveryfailed for the instance ID.. When I look in the innerexception it says the workflow with the instanceid was not found in the persitence store (but when I check the database that instance is there). So I tried to add before raising the scan event WorkFlowru ...Show All

  • Visual C# How do I return a string from a csv file?

    Hi, I am trying to search a csv file until it hits a null value. The csv file is set up in such a way that I can search line by line until the first cell is blank (MB/Code). At the moment I just want to find this null cell and get the program to return the value, and then I can find the Res-Code and do some further calculations. Below is an example of the file I am searching. MB/Code Description Res-Code D desc1 D01 desc2 D0101 desc3 A001023 Thanks, Scott ...Show All

  • Visual Studio Express Editions VC# Exit Sub Equivalent

    In VB if I want to exit out of a procedure I call "Exit Sub". What is the equivalent of doing so in VC# in a class library project in a procedure Thanks, Ryan Ryan, Similar to VB.NET, C# uses return, for example: VB Sub Equivalent: public void WriteLine( string value) {      if (value == null || value.Length == 0)         return ;           Console.WriteLine(value); }   VB Function Equivalent: public string Concat( string value1, string value2) {  &nb ...Show All

  • .NET Development ActiveDirectorySchemaClass

    Hi I am trying to use the new ActiveDirectorySchemaClass class. When using the MandatoryProperties of any given class object , it returns a collection of properties not only defined to the current class but also any mandatory properties of auxillary or superior classes. Same goes for the OptionalProperties. A class with perhaps 4 or 6 mandatory properties returns a collection of perhaps over a 100 properties. Surely I am missing something. I need the mandatoryproperties and optionalproperties of the only the specified class. So in the meantime I am back at loading the information myself with standard LDAP serches in the schema partit ...Show All

  • Windows Forms Run VB.NETApplication on MAC

    How can I make VB.NET application run on Mac.  Thanks you can run your asp.net apps (stripped down versions) on the Mac os10 using mono remember that they have re=implemented all the classes in C# for Mono, so all api related stuff expect to be buggy or not work at all. This is Just the ASP.NET namespace!  System.cryptography might not&nbs ...Show All

  • SQL Server deploy to sql server

      I have a SQL/CLR stored procedure written in native C++ (wrapped, of course is C++/CLI). However when I try to deploy the assembly into SQL Server 2005 from VS2005 I get the error: Deploying File: d:\my code\fido.root\ssb-snmppoller\whn.snmppoller\debug\whn.SnmpPoller.SqlServer.dll Deployment to database failed UNSAFE ASSEMBLY permission denied on object 'server', database 'master'. This error message is accurate. I DO NOT want the assembly in the master database. I have properly configured the connection string on the property page. What's the deal Why isn't vs2005 honoring my connection string --paul ...Show All

  • SQL Server Reuse calculation later on in query

    How can I reuse the field CurrentBalance in my last AND statement   SELECT     rm.rmsacctnum AS [Rms Acct Num],           rf.rmstranamt10 as total_10,           rf.rmstranamt, (rf.rmstranamt - rf.rmstranamt10) AS [Current Balance] FROM RMASTER rm INNER JOIN ( SELECT RMSFILENUM, RMSTRANCDE, SUM(rmstranamt) AS rmstranamt, SUM(CASE WHEN RMSTRANCDE = '10' THEN rmstranamt ELSE 0 END) AS rmstranamt10 FROM RFINANL GROUP BY RMSFILENUM, RMSTRANCDE ) AS rf ON rf.RMSFILENUM = rm.RMSFILENUM --where (rm.rmsacctnum = '4264287999892165' OR --rm.rmsacctnum = '4264290999892300') AND rf.RM ...Show All

  • Visual Basic date format

    i am having trouble comparing dates, 1 is pulled from Outlook [Duedate] which is in the format mm/dd/yyyy and the other is todays date which is in the format mm/dd/yyyy when I display it in a message box, however I get the message type mismatch or the value in the condition is not valid Set myItems = myTasks.Restrict("[DueDate] > todaysDate") You should post the full error message, and the code in context that is giving you the error. In this case, todaysDate is a variable, so you need to put the value in the filter string, not the actual variable name, like this: myItems = myTasks.Rest ...Show All

  • Visual Studio Recommended Uninstall/Reinstall procedure?

    I have a system that had Beta1 on it, and I'm trying to install the FebCTP. But I'm getting odd errors. The FebCTP installed just fine into a virtual machine, so it must be conflicting with the old beta1. Does anyone have a recommended clean-up procedure for uninstalling/installing newer or older betas Anything I should pay attention to Here's what I've tried: Deleting any files in "Documents and Settings/XXXX/Application Data/Microsoft/Visual Studio/8.0" Delete Registry keys below HKCU and HKLM/Software/Microsoft/VisualStuidio/8.0 FYI, I've had the MSDN Beta1, the MSDN Beta1 Refresh, then February CTP, then back to MSDN Beta1, now I'm tryin ...Show All

  • SQL Server SQL Server Setup Unexpectedly Failed

    Everytime I try to install SQL server express I get this error: http://img20.imageshack.us/img20/3065/prob7pq.jpg The log contains this info: Microsoft SQL Server 2005 Setup beginning at Sat Apr 22 22:44:38 2006 Process ID : 2108 c:\ec2fdcc12749806553ab9fe997\setup.exe Version: 2005.90.1399.0 Running: LoadResourcesAction at: 2006/3/22 22:44:24 Complete: LoadResourcesAction at: 2006/3/22 22:44:24, returned true Running: ParseBootstrapOptionsAction at: 2006/3/22 22:44:24 Loaded DLL:c:\ec2fdcc12749806553ab9fe997\xmlrw.dll Version:2.0.3604.0 Complete: ParseBootstrapOptionsAction at: 2006/3/22 22:44:38, returned false Error: Action "ParseBootst ...Show All

©2008 Software Development Network