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

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

Docpro777

Member List

AllisonH
luai7
Jamie Douglas
ThisSummer
etcheverrjc
Nuno_Salvado
Grant Holliday
Cuzzlor
DanMeyers
imanish11111
qrli
technoTABLET
Murali425891
NuclearChicken
Razzel
Shuman Kibria
Zadoras
Uwe82
Ajaykr
Tech_Andrew
Only Title

Docpro777's Q&A profile

  • Smart Device Development How to Display part of a large Image?

    I have a image with 2MB, I only want to get part of the image and display in a picturebox without load the whole file, how to (I'm a Chinese boy, so my Eng is not very well, forgive me) hcaihao@gmail.com Really That's cool, could you give me a piece of code I know the code below can create a thumbnail, but how to cut the image FileStream fsImage = new FileStream("a .jpg ", FileMode.Open); IBitmapImage imageBitmap = ImageUtils.CreateThumbnail(fsImage, new Size(240, 266)); Bitmap bm = ImageUtils.IBitmapImageToBitmap(imageBitmap); picBox_地 .Image = bm; I once try to use IImage.Draw, but failure too. ...Show All

  • Microsoft ISV Community Center Forums menu tiems for OutputToText, OutputToExcel command dimmed

    We have an access application, which has a macro which uses "RunCommand" actions associated with several commands. Two of menu items greyed for unknow reason. They are all available when I run the application from debug mode. However, after we packaged application and installed it. Thoese two menu items are dimmed, no one can select it. The problem started since March of 2006. Do I need to change some settings or permissions to run these two commands P.S. Other commands on the same menu are OK and they are using Runcommands too. ...Show All

  • Visual C++ Newbie question about classes

    Hi, this is the declaration of a class for handling matrices. http://doc.coin3d.org/Coin/classSbMatrix.html In this way i create an object SbMatrix: SbMatrix a=(1, 2, 3, 4, 5, 6, 6, 3, 5, 6, 6, 6, 5, 6, 3, 9); How can i print the content of that matrix and How can i give values to each one of its components The member funtion getValue() returns a pointer to the 2 dimantional float type array. The documentation does not say this, but SbMat seems to be the name for this type. try SbMatrix a=(1, 2, 3, 4, 5, 6, 6, 3, 5, 6, 6, 6, 5, 6, 3, 9); const SbMat* p; p = a.getValue(); for(int i=0; i<16;i++) cout<<*p++<<" "; Hope it works! ...Show All

  • SQL Server checking for control files in SSIS

    have a job that loads data from a data file into a table. Is there a "task" that can be used to check to see if a file exists and put error handling around it without programming ...Show All

  • Software Development for Windows Vista properties parameter

    Hi, i have visual studio 2005 with .Net Framework 3.0 Reditributed Package and Visual Studio 2005 extensions for .NET Framework 3.0 could anyone tell me please why there isn’t parameter field in the property windows in my visual studio i can not set the parameter for workflow or activites, what could i do now manual set in- and output parameters in the workflow Hi, If you cannot see the parameter names among the list of properties try switching views - Alphabetical View, Categorized View..etc. These buttons are right on upper left corner of the properties window (alphabetical view button has a-z letters on it and categorized view is on the left of the alphabetical view button). When you switch to ...Show All

  • Windows Forms Multiple Instances of AxWebBrowser

    Hi, I have a csharp application, running multiple instances of AxWebBrowser at the same time. Each web browser requires the same cookie, set using InternetSetCookie. I used InternetSetCookie before I start navigating in each control. If one AxWebBrowser control is navigating, another control is not able to recognise the cookie. If I waited until the first control is complete navigating, then start navigating the second control, then it is able to recognise the cookie. Is this a known feature of the control Is there any way to get around it Thanks and Best Regards Thanks for your reply. That means I have to queue the navigations It will take too long, because I can have many instances of web br ...Show All

  • Windows Search Technologies pdf searching

    Any idea when WDS 3 will be able to search pdf files Also as previously mentioned, the list of file extensions to be searched stops at the letter "c". Suggestion: The results window wastes too much space on the header stuff. You have the normal explorer toolbars and then below it toolbars for WDS. This should be minimized as you have done for IE7. Tom Tom, Thanks for the feedback regarding the display. We've tried to make it consistent with Vista display, but there's always room from improvement. I'll make sure that gets to the team. As for searching .pdf's, I'm told there are a few different development houses working on a .pdf IFilter that is compatible with 3.0. Unfortuna ...Show All

  • Software Development for Windows Vista What is the rationale behind not having a static method to retrieve the current workflowruntime instance?

    After doing quite some work with windows workflow I am starting to feel that there is one thing that is coming back every time you work with the WF runtime and that is getting the current running instance of the WFruntime. What I just can’t grasp is why there is no static method on the workflowruntime class to retrieve the running instance. (or by name if you have multiple instances running) In every sample you look you see that not having this method makes the developers suffer and you need to make assumptions that are not always true. e.g. take a look, at the WebServiceInput activity and try to use it without the generated configuration when you publish the service. (name the configuration something else then “workflowRuntime”!) ...Show All

  • .NET Development Common Language Runtime Debugging Services

    I got his mistake report IEExec.exe - Common Language Runtime Debugging Services Application has generated an exceptation that could not be handled Any help will be grate appriciated... Regards Ali That's a general error message. It means there was an unhandled exception in the app (IEExec in this case). The problem is the app crashed, and the dialog (brought to you via the "Common Language Runtime Debugging Services") is just the messenger. This is .NET 1.x, right I believe that dialog was changed in .NET 2.0 to use Watson. The real question then is why did IEExec crash on you. If you have a debugger available, you could attach and get a callstack, which is often useful for triaging exceptions. ...Show All

  • Smart Device Development addressing dependency with partial deployment of CF1?

    I discovered that a dll used in our solution has a dependency on mscorlib and System.dll version 1.0.500, while the rest of the solution is upgraded to Compact Framework v2. Is there some way to create a CAB that includes just those two CF1 files for deployment, instead of requiring all of CF1 along with all of CF 2 Or can I assume that the CF 2 version of these dependencies will be compatible Thanks. Yes, NETCF V2 would automatically redirect 1.0 assemblies on to 2.0 versions, so your solution should work. That is only true for NETCF V1 assemblies, desktop assemblies won't be redirected and would cause TypeLoadException. ...Show All

  • SQL Server Teradata data source and Parameters

    Does anyone have any experience setting up paramters when using a Teradata data source I am specifically looking for how to set up dates and multi-select drop down boxes as parameters. Using a fixed query against Teradata using SSRS is straight forward and is working well. Parameters, not so much. R Please check my response on your other thread for some more information: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=820351&SiteID=1 -- Robert ...Show All

  • Visual Studio Sandcastle ignores "exception" tag

    How could Sandcastle simply omitting such important information The exception tag is very well suppported in Visual Studio 2005 IDE. I came to post the exact same thing, though I can't get <seealso> to work either. Is there anything special that I'm not doing that will get these tags to appear I add them as their own tag outside of <summary>, like so: <summary>...</summary> <remarks>...</remarks> <seealso cref="System.String"/> <exception cref="ArgumentNullException">Thrown when ...</exception> They do show up in the output XML file, it just looks like Sandcastle isn't doing anything with them. Also as an unrelate ...Show All

  • SQL Server SSRS - Using shared variables in group footers which capture changes to that variable in the group details

    Hi folks, I’m relatively new to both SQL Reporting Services as well as .Net programming. I come from a Crystal Reports background and I’m running into a problem duplicating a common technique used in my old Crystal reports. The simplified description of the problem I’m having is this… it seems that public shared variables are evaluated in the wrong order when accessing them from code in grouped tables. It seems that the group header is evaluated first, then the group footer and finally all the detail rows. As a result, if I modify a shared variable in the details section of a grouped table, that modification isn’t recognized in the group footer. Here are the details of what I’m trying to accomplish… I have added a table to my report which ...Show All

  • Windows Forms Deploying a Protected executable

    Hi, I would like to use windows installer to deploy a protected .exe that uses a USB dongle. I run the protection software to create the protected .exe. I then copy the protected .exe into my Release directory, when I build the installer it will write over my protected version with the non-protected. I need the detected dependancies for this app to work right. So what I do is remove the project output from the installer and add the protected .exe. My installer than works fine, protected version is deployed. Question is, is this the correct way to do this Does anyone have a better way to deploy a protected .exe using windows installer Thanks Jeff Your protection software... is th ...Show All

  • Visual Studio 2008 (Pre-release) propagate an exception of a concrete type in Indigo

    Hello everyone from Spain, I am trying to propagate an exception, whose type is ExcepcionConcurrencia (it is Spanish). Well, the issue is that it doesn't propagate the exception of the type that I have defined, it propagates ServiceModel.FaultException. I need my type because I propagate a DataSet in it. I have tried using the ServiceKnownType Tag but it doesn't work. How could I achieve it Thanks in regards Hi, You need to annotate your ServiceOperation with a FaultContract. Here are the steps: By the way, OperationContract's have to be two-way for SOAP fault to be returned. //1.Define a DataContract for your error type [ DataContract ] public class MyError { [ DataMember ] public D ...Show All

©2008 Software Development Network