Cleber Dantas's Q&A profile
.NET Development COM DLL METHOD SLOW IN WEB APPLICATION BUT FAST IN WINDOWS APPLICATION
We have developed an application using ASP.NET/C# which uses COM api. We figured out that API methods are relatively slow in Web Application but the same code, same method if i try to use in a window based application, it is extremely fast. Please let us know, if what could be the reason. The COM DLL is a third party supplied developed in Visual Basic. The DLL Which if try to use in ASP.NET Web Application is slowing down rapi ...Show All
Windows Forms Button FocusRectangle Problem
Hi everybody, I need to change the button FocusRectangle colors in my Forms, because I have Flat type Appearance with a background image. Which is the best way to do it I tried with an override of the OnPaint method and DrawFocusRectangle, but I just get an strange behaviour... Thanks in advance, Demian ...Show All
Visual C++ RC2147 : SUBLANGUAGE ID not a number error in VS 2005 Pro
I have found a serious problem with the Visual Studio 2005 Professional resource editor. I am based in the UK (this is crucial), and when I add a new resource to an MFC project, it is assigned the English (United Kingdom) language by default. Unfortunately, the following line is added to the .rc file, which will not compile: LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_NEUTRAL The resource compiler will produce the following: error RC2147 : SUBLANG ...Show All
Windows Forms Setting Default Values for DateTimePicker and TrackBar
I have a DateTimePicker control and a TrackBar control. Both bound to db fields. I am using a bindingSource and a BindingNavigator as well. A user clicks a button on the BindingNavigator to add a new record, then fills out some fields on the form and clicks the save button on the BindingNavigator. I want to default the datetime in the DateTimePicker to the current date and I want to default the TrackBar value to 1 for every new record. Someti ...Show All
Visual C++ Command line builds and file changes
Hello, we are using VS2005. This question pertains to VC++ and command like builds. I am trying to use vcbuild (or msbuild) to build from scripts a solution with about 40 projects. What I find is that after doing a full build (win32 and debug, for instance) if I change a header file for instance and run the vcbuild command again passing the solution file, it says that everything is up to date. If I do the same thing from the IDE, right click ...Show All
Visual Studio Express Editions TAPI relavant Component in .NET?
Hi, I was used TAPI to developed IVR system using VB. What component I'll use in .NET since is TAPI dll is not support any more in this platform. Please help me to setup IVR system using .NET It looks as though you can still use TAPI with VB.NET http://www.codeproject.com/useritems/CShart_TAPI_3x.asp http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=4bc31771-594a-460e-8c9d-a584b2c47c2d Perhaps you can elabo ...Show All
SQL Server cannot see the 2nd table(2 tables returned from stored procedure) in dataset in report designer
Hi, I am using stored procedure(SP) to create the dataset in report designer. My SP is returning 2 tables/recordset and i am only able to see first table/recordset in the dataset in report designer. I have to place fields from second table onto my report. Is there anyway i could get the 2nd table in my dataset so that i could place the fields in my report. Please help Hi I am also facing the same problem. Could you help how to wri ...Show All
Visual Studio Express Editions (newbie) How to refresh text box contents
Hi Dare I ask another question! I have a second form which opens via a button on main form. This form shows a score table (32 textboxes) The display/saving/loading/hiding for this form all work OK. I now have a new score (4 of the text boxes) to change. The following Sub seems to achieve the resorting of the ScoresTable Collection (the score table text boxes) inserting a new score appropriately. However, this doesn't change the value ...Show All
Windows Forms Accessing a control from outside the form class (in form.h)
Hi, Hopefully someone knows a little programming trick here. :-) A USB device connected to my computer periodically executes a function in a provided DLL file which in turn executes a function in my program. Within my function, I'd like to write some text to textBox1 in the form. Since the function is outside the form class in the form.h file, I have to pass the textbox in as an argument. HOWEVER..... I cannot do this because I cannot edit the p ...Show All
SQL Server trigger calls stored procedure- sometimes?
Hi , I have a trigger that propogates data to other databases by calling an sproc within the body of the trigger. However, if the trigger fires more than once in quick succession (ie a few rows are quickly added to the table) the support sproc is NOT called the equivalent number of times ,frequently only once. Why is this or is the theory totaly wrong Dave ...Show All
Windows Forms creating a paper version in pdf of a winform
Any one know off a good component that can create PDF documents You are correct, Ken. Saving to PDF is supported with Crystal. We use this in house, however, I cannot provide an example. ...Show All
SQL Server Clearing cache
Is it possible to clear cache without restarting the SSAS service . In AS2000 It was done by using the flushcache vbscript sample, but I didnt find a method similar to suspend/resume one, in AMO or xmla syntaxis. Thanks Leandro I've just found a command in xmla for clearing cache: < Command > < ClearCache > < Object > ... </ Object > </ ClearCache > </ Command > Thanks Leandro ...Show All
Windows Forms How do you send data in a commandbutton to my email??
I use visual basic and i need to know the programming language nin which sends the info typed in the command buttons i have to me via email this could be liite trick if you want to do it inside a windows form app,&nb ...Show All
Visual Studio Tools for Office Context-sensitive Actions pane: Odd update behavior
I have an Excel workbook that contains two named Ranges: OrderDate and ShipDate. When I select either of these cells, I want the Actions pane to display a user control that contains a label and a DateTimePicker control. I want the user control to show up in the Actions pane only when one of these cells is selected, so I have code on the ranges' Selected and Deselected event handlers to add or remove the control (see code below--SetDate is the na ...Show All
Visual Studio 2008 (Pre-release) How can I generate WSE-enabled webservice proxy with command line wsdl.exe?
Hi, I have a WCF service. How can I generate WSE -enabled webservice proxy with command line wsdl.exe tool for the WCF service Thanks in Advance, Venkat I am not wse expert,looks like we can use wsewsdl3.exe to generate proxy http://msdn.microsoft.com/library/default.asp url=/library/en-us/wse3.0/html/fbefe453-3851-439b-9c10-fb036b59ff81.asp If you enbale wse3.0 for your project,Add service reference wizard should gen ...Show All
