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

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

criquety

Member List

CodePhoenix
JavaBoy
john-wayne-interessierts
Roger_Wagner
Vikash Sharma
Nightmare_BE
Antistar
MickDotNet
pappascd
Starkman
Mike240
Gurpreet_Sodhi_69db48
Sixon
Jonas.S
motorola
A__alex10
bes7252
Mystret
AdeptBlue
Ankith
Only Title

criquety's Q&A profile

  • Software Development for Windows Vista batching : IPendingWork.Commit

    MSDN Says : " The workflow runtime engine calls the Commit method when its semantics dictate that the pending work in the work batch should be committed . When it reaches a commit point, the workflow runtime engine calls the Commit method on each IPendingWork object in its work batch; the workflow runtime engine passes the Commit method the collection of items associated with that IPendingWork object. Either all of the work in a batch succeeds or none of it succeeds. You should throw an exception if any of the work items passed to the Commit method in your implementation cannot be committed. Depending on your implementation, you may want to perform some rollback in your Commit method if it cannot commit its work items. If th ...Show All

  • Visual Studio Team System Team Explorer -> Sharepoint binding

    For some reason the link between Team Explorer and Sharepoint appears to have broken and I can't work out how to fix it. I can access my TFS project portal from http://tfsserver/sites/project/ but if I expand the project in Team Explorer the 'Documents' folder has a red x in it and is empty and the 'Show Project Portal' option is greyed out. Interestingly, if I open Visual Studio and do not expand the project in Team Explorer but just right-click on it then 'Show Project Portal' is enabled and links to the correct place. As soon as I expand it it gets greyed out. Any ideas Hello, sorry for the delay in replying. I checked as you suggested, and it all appears to be fine. I suspect it's a problem w ...Show All

  • Windows Forms How can I get the funcationality of cut, copy, paste, undo, redo etc

    I am making a project in visual c# 2005 Express edition. I want the functionality of undo, redo, cut, copy, paste from multiple controls in Edit menu of my application. plz guide me. I will be so thankful to u for this favour. See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1155673&SiteID=1 and have a look at my sample posted in that thread,it would give you some tips. ...Show All

  • Visual C# Background worker cancel event is not entering the cancellpending condition

    Background worker cancel event is not entering the cancellpending condition ..... it is looping in the btncancel_Click loop...... can any one tell me what may be the problem private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { someclass obj = new someclass (); BackgroundWorker worker = sender as BackgroundWorker; e.Result = obj.startprocess(someid, worker , e); if (worker .CancellationPending) { e.Cancel = true; }} private void btncancel_Click(System.Object sender, System.EventArgs e) { /// IT IS LOOPING IN THIS BUTTON CLICK EVENT this.backgroundWorker1.CancelAsync(); } // this function is in a class in other package public bool startprocess(String someid, BackgroundWorker bw, DoWorkEventArgs e) { b ...Show All

  • SQL Server Rebort Builder Access

    Hi, Hope someone can assist Does Report Server allow access to Report Builder in an extranet setup We intend to use the report builder functionality to prove basic report creation for users over the internet, these users would be outside or corporate network. Is this possible security issues many thanks Simon. Should work. See here for further information on installing on non-domain users machines. http://blogs.msdn.com/bobmeyers/archive/2006/09/28/775584.aspx and more info on troubleshooting http://blogs.msdn.com/bimusings/archive/2005/11/07/489968.aspx Note that it requires .net 2.0 framework on client PC. Have a look at other 3rd-party report bu ...Show All

  • Windows Forms Language Program

    I have no idea which forum would be best to place this, and I couldn't find anywhere to ask where it should be placed, so please accept my appologies if it's in the wrong place. First post. Hi all. I signed up after having searched the web for a place where I could ask for some professional help on my new project. I am training to be an interpreter between English and French, and of course, know so many words that I sometimes forget which ones I know! I'm coming on 22, native English, and pretty with-it when it comes to Windows XP computing. I'd like to introduce you to my simple idea, in the hope that someone could tell me how to create my own program (which would be very exciting for me) or, if it's so easy, someone ...Show All

  • Windows Forms Remove combobox items

    I've got a combobox, cmbStartT with items (loaded at run-time) to represent time values starting from 07:30 AM to 04:00 PM. I want remove certain time values depending on what time it is on my computer. If it's 11:01 AM on my computer, I want to show only time values from 11:30 AM to 04:00 PM, no problem with this one. If it's 11:31 AM, show only time values from 12:00 PM to 04:00 PM. Dim sTime As DateTime Dim pos As Integer If cmbType.Text = "Meeting" And cmbStartD.Value.Date = Today Then For pos = 0 To cmbStartT.Items.Count - 1 sTime = cmbStartT.Items(pos) If TimeOfDay.Hour = sTime.Hour And TimeOfDay.Minute > sTime.Minute Then While pos >= 0 cmbStartT.Items.RemoveAt(pos ...Show All

  • Visual Basic Getting textbox text from another form (vb 2005)

    Does anyone know of a simple code to put text from a textbox in one form into a textbox on another form.  I would like to do this when a button is pushed. It was easy in vb6 but I am using 2005 now.  All I had to do was write "textbox1.text = form1.textbox1.text Yes, you are right. I think too, that using default instances is bad programmers habit. I see it in application written by my precedessors. They used global variables and default instances and it is very hard to find, when variables are set and when forms are created and destroyed. Default instances were removed from VB.NET 2002 and 2003. And I think they were introduced to VB.NET 2005 only to easy convert VB 6.0 projects to V ...Show All

  • .NET Development I got error message "Bad variant type" when i run my function on remoting

    Hello, i have created one project and i used one own .dll file(created in .NET Class Library). i used some SAP function in this .dll file. now when i used simply this .dll file then it's work very fine. but when i try to run this on remotiung i got error "Bad variant type". Example Of Code Without Remoting ----------------------------------------------------- Dim MyObj As MyObject = New MyObject sResult = MyObj.FunctionName("XXXX" ) <===== This will work very fine Example Of Code With Remoting ----------------------------------------------------- Dim MyObj As MyObject = New MyObject MyObj = CType (Activator.GetObject( GetType (MyObject), "tcp://compname:8085/TestObj&quo ...Show All

  • Gadgets any examples of a gadget call a web service that returns json?

    I'm hoping to find an example of a sidebar gadget that will call a web service with some parameters and return a json object. I'm hoping it calls it on a timer and is done in javascript. Thanks, Peter Kellner http://peterkellner.net ASP.NET, MVP Accessing data from a web service in a gadget with a JSON service is no different than doing so in Javascript on a regular HTML page. Are you really just looking for a JSON client or is there something specific about the sidebar gadget you'd like to understand -SANDY ...Show All

  • SQL Server restoring 2005 backup with 8.0 compatability mode on 2000 - help

    Hi, I have a database that is in the SQL Server 2000 compatability mode on my SQL 2005 server. I am trying to restore a backup of this database on my SQL Server 2000 database on another server and keep getting strange messages. First trying Red-Gate and then plain SQL Server with no luck. It seems as I remember that the 7.0 and 2000 compatibility issue between backups did not arise when the compatibility mode was set to 7.0. Is this "planned" behavior or an "undocumented feature" Anyone else have success doing this Thanks, John Campbell this link may help u : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=186526&SiteID=1 Madhu ...Show All

  • Visual C# Creating TCP SYN Flood C#

    i  m trying on TCP SYN Flood using C#. i have my own selfmade TCP n IP headers, now i am trying to send them over the network using the RAW Sockets. but i gets this exception:  " a Blocking Operation Was Interrupted by a call to WSACancelBlickingCall". the exception disappears when i remove the setSocketOption() method, but this method is must for sending ones self made ip Pakets.  i also came to know that Selfmade TCP header cannot be sent over network using C#, is this corrrect if it is then what should one do in order to create TCP SYN Flood    plz let me know how to deal it, thnx I am attempting something similar but running into my own issues, mainly the custom packets. wh ...Show All

  • Visual J# Socket connect timeout?

    I have a bit of code that creates a new socket. I get NoRouteToHostException when the IP cannot be reached. My problem is that it takes too long to throw the exception. It takes about 30 seconds to throw the exception, how can I make this timeout shorter Here is a small example of what I'm doing: try { socket = new java.net.Socket(host, port); } catch(java.net.NoRouteToHostException e) { System.err.println(host + " is unreachable."); } Hi, Sorry, there is no other option to make this timeout shorter. But we can set the timeout exception for reading the input stream, with the socket object. so this timeout exception gives "Timeout Expired or server not available..". Reg ...Show All

  • Visual Studio Changing elements from properties

    Hi all.~ Slowly but surely coming around on DSL tools. =) Assume I have a Bar and a Baz element, both of inherit from Foo element. Ideally, I'd like to be able to change a property on a Bar element to switch it to a Baz element. I'd have to imagine that it's not too easy with connections and property information transfer. What are the possibilities for addressing this situation Thanks in advance. -B Tucker Neumont University The property grid support in the DSL uses the new .NET Framework 2.0 TypeDescriptionProvider class to proffer the properties shown in the grid. You need to create a new class which knows how to re-direct either Bar or Baz model element (based on your own context). When the PropertyGrid control asks you for the t ...Show All

  • SQL Server Semi-Additive Function not aggregrating on non-time dimension

    I have an on-hand quantity measure in my SQL Server 2005 Analysis Services cube. I set the Aggregate function to LastNonEmpty so that the measure will not sum up across the time dimension but will sum up across the product dimension. My problem is that this measure will not sum up across the product dimension when using LastNonEmpty. It properly displays the data at the leaf level of product but won't sum up for any of the parent levels. When I change the Aggregate function to Sum, it properly rolls up to the parent levels. But, of course, also rolls up the time dimension which I don't want it to do. Can someone provide me with some guidance on this Hi David I assume you are using AS 2 ...Show All

©2008 Software Development Network