sphuan's Q&A profile
Visual C# How to send Fax Using C# ??
Hi I have config the Fax service in Windows 2003 . but How to send Fax Using C# And thanks with my best regarding Fraas Hi All, I used the following code and it worked fine when runing the web application from visual studio: doc = (FAXCOMLib. FaxDoc )server.CreateDocument(TheFile); doc.FaxNumber = faxnumber; doc.SenderFax = "765765765" ; doc.SenderName = senderName ; doc.SenderAddress = "test" ; doc.SenderCompany = "My Company" ; doc.RecipientName = recipientName; doc.DisplayName = displayName; response = doc.Send(); return response.To ...Show All
.NET Development NNTP test post
Incoming nntp test again <Jason McCullough MSFT@discussions.microsoft..com > wrote in message news:bc52d26a-86d9-4fc8-a9c4-68cfe0fe2ae8@discussions.microsoft.com ... Outgoing nntp test again ...Show All
Visual C# Thread Synchronization C# --> C++
Hello I have a little native dll written in C++. I call it's functions from C#, but I have some problems that I can't afford. I have no unerstanding in multi-threading at all, so your help will be appreciated. I have a C# class which uses BackgroundWorker. It calls the dll's function to determine some changes and if one found, it must trigger associated event. But the problem is that I call Connect() function from the BackgroundWorker's DoWork event (in some seconds interval) which is said not to be Thread Safe and I call the same function from Main Thread, so some times an AccessViolationException raises saing "Attempted to read ...Show All
Windows Forms Selecting which area to crop on an image
My application, interfaces with a webcam to take a pic of a person's head and display it on a windows form. I want to be able to draw a rectangle on this image, which would crop it in order to get rid of the edges which i don't need. There seem to be tutorials out there that detail how cropping works using GDI+, but I want to be able to select an area to crop at runtime. Is there any way I can draw a rectangle over an image and send the image coordinates (not window coordinates) back, allowing the image to be cropped Ideally, I would like a pre-set rectangle to hover over the image so that every cropped image ends up being the same siz ...Show All
Visual C# Deleting Control form my from
Hi Guys, I am working on the .Net c# project(VS 2003). My problem is I can not delete controls from form.Right click and delete option is disable and also I can not delete them by using delete key on keyboard. My Lockcontrol menu option is disable!!! Anybody can help me Thanks, Silly question, but you're not debugging are you Or are your files marked readonly (not really sure whether that blocks designer editing though). Why don't you try to edit the <formname>.designer.cs file to delete the control and see what happens when reentering the designer ...Show All
SQL Server Can I shedule packages from C#.net
I want to know what is the schedule of packages. and be able to change them from my .net Program. Thanks You can use the SSIS object model to execute packages directly, or you can schedule packages to run through SMO with the SMO.Agent namespace objects. It's documented here: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/smo9mref/html/N_Microsoft_SqlServer_Management_Smo_Agent.htm Thanks, Kirk Haselden Dev. Mngr SSIS ...Show All
Windows Forms TextBox control without caret
Hi, I have a following requirement. We are developing Windows application in VB.Net. There is a requirement to make the textbox readonly, so that the user cannot modify the text, at the same time the textbox should in disable color. We went with two solution but both of them failed Sol 1 : We disabled the textbox and set the Background color to be highlight. This was working fine but the forecolor was in grey which our client disliked. So he wants the textbox to be disabled, forecolor to be black and background color to be White. Sol2 : We inherited textbox control and exposed a new property so that user cannot mo ...Show All
Visual Studio Team System Can I edit scenarios on Project Portal?
Is it possible to allow users edit WorkItems in WebParts or only in Excel Hi By Project portal, do you mean the share point website If Yes, currently we don't have interface to edit work items through web. We can edit them through IDE or through Excel. However, you can develop a web interface using WorkItemTracking Object model to edit work items. Thanks Sagar ...Show All
Software Development for Windows Vista help
can anyone give a sample to help me create child state machine workflow I want to know how it work with master workflow. Thanks in advance It's not clear what you mean here. Do you want multiple workflows one parenting the other Or do you want a single workflow that has multiple parts in some way Please can you clarify what you are trying to do. Regards, Paul ...Show All
Visual C++ Dialog bar (CDialog Bar) activex(flexgrid control) fire events
S.O: winxp visual c++ 6.0 service pack 5 well i tried to use flexgrid contron over dialog bar (works well). functions are working. but when y tried to fire events and nothing happens. in a dialog based App Work's, but in a sdi App(MFC wizard) doesn't work, of course in a dialog bar(CDialogBar Type) . the following code is a little example in mainfrm.cpp file: BEGIN_EVENTSINK_MAP(CMainFrame, CFrameWnd) //{{AFX_EVENTSINK_MAP(CMainFrame) ON_EVENT(CMainFrame, IDC_DATAG, 69 /* SelChange */, OnSelChangeDatag, VTS_NONE) //}}AFX_EVENTSINK_MAP END_EVENTSINK_MAP() void CMainFrame::OnSelChangeDatag() { &nb ...Show All
Visual Studio Enhance the Unit test environment
Hi, We are currently working with Unit Test in our development cycle and we would like to continue and even expand the ue of "Unit Test" into integration and even peformance. Using the VS Extensibility, will I be able to extend VS's unit testing capabilities Regards Martin It all depends on what you mean by extending unit testing. Do you want to add new files to the unit test project, add your own reporting output, etc Craig ...Show All
Software Development for Windows Vista how to get output pin from mpeg4 stream (simple profile) located in reserved area memory (RAM) ?
Hi ! I try to do preview of mpeg4 stream (simple profile) which I get to reserved area memory (RAM). I`d like to decode this stream by divx filter so I must get a output pin from this stream in order to connect my stream with divx filter. This problem would by solved if I have got a movie file by function: RenderFile of IGraphBuilder. Is it possible to make preview of that stream I'm not sure I'm following what you are trying to do here. It sounds like your current filtergraph is: File->Divx decoder->Renderer And what you want is: File | V Divx Decoder | V something -> renderer ...Show All
Architecture Security for web application
Hi, I am trying to develop architecture for web applications. I have written a module for providing security for the web applications. I am exposing both logging and authentication as windows services. Logging is handled by a logging service, which receives asynchronous requests. Authentication is handled by a security service, which receives synchronous requests from the applications that need to be authenticated. Is it a good idea to expose authentication as a windows service Thank you very much for your time. Chinna How can you make sure an hacker will call your windows service to check if she is allowed to ...Show All
Visual Basic Timing a process
Hi Guys, Does anyone know how to timing a long process ie. showing on form how many minutes and seconds remaining to finish the process. Many thanks. how about his Add a progress bar on your form in your process routine, your code Me .ProgressBar1. Step () = Me .ProgressBar1. Step () + 1 Me .ProgressBar1.PerformStep() your code ... Me .ProgressBar1. Step () = Me .ProgressBar1. Step () + 1 Me .ProgressBar1.PerformStep() ...Show All
Visual C++ Weird Spy++/VB/VC problem
Hey, Here is a wierd problem I've been breaking my head over for the last couple of days........ I am writing a program in VC which reads information off a window written in VB using the windows handles which I obtain programatically (and which can be viewed by Spy++). The object that I want to read stuff from contains 4 other objects 1. A drop down 2. Label (which I want to read) 3. A Tree 4. Some gif Through Spy++ when I view this object within the VB application it shows it as "ThunderRT6UserControlDC" ( which is a VB thing ). However I cannot view 1 and 2 through Spy ++ while I can view 3 and 4....now I know that 1 and 2 are a part of th ...Show All
