Helio D's Q&A profile
Software Development for Windows Vista Trouble with the ManualScheduler service and delays
Hi, so I have this workflow I've been working on for a few months. It's made of a few parralel branches (5), which look like this : picture The whole thing is hosted in an ASP.NET webservice (in its global.asax file). Along with the ManualScheduler service (with UseActiveTimers on), I'm running a persistence, tracking and data exchange service. And while I thought I did everything right (according to other posts here), expired delays still don't cause the workflow to fire up, so I always have to wait for the runtime to do something (ie : instaciate another workflow, send an event to a workflow, etc...) before anything happens... (this, I assume is what it is supposed to do without UseActiveTimers activated). I really hope ...Show All
SQL Server ODBC Driver for SQLServer Everywhere/Compact from Access
So far I've been unable to connect to a test SQLServer Everywhere/Compact database with MS Access. I installed the new SQLServer 2005 Native Client to no avail. Has anyone done this If you read the last post I made, it's pretty clear that I have Compact Edition 3.1 RC1 Beta. I haven't ever installed the Mobile Edition. After installing CE, most references (like the installation directory) reflect the previous name (Everywhere). I really want to link to a Compact Edition database through ODBC (as it happens, in Access). I can connect to it fine in VS 2005 VB.NET, so I don't think it's a lack of understanding. Thanks, any help will be appreciated. ...Show All
Visual Studio Express Editions Error: Shortcut Activation Over Network is not Allowed
I published a program on a server so that everyone on my network can access the setup file and install it on their computer. The setup prgoram workes great by installing the program but the only way I can open the program is by going to the start menu and clicking on it from there. If I create a shortcut anywhere else, I get the error message "Shortcut Activation Over Network is not Allowed". How do I allow it Or can I publish the program and put the .exe file somewhere else Or should I not publish it, but rather do something different More specifically, my error message says: Request for the permission of type 'System.Security>permissions.FileIOPermission, mscorlib, ver ...Show All
Visual Studio can we set different fontstyle for a single textbox in reporting services
Hi, I'm afraid whether we can set different font styles for the text in a single textbox in reporting services Can anyone clear me with this.If the answer is yes..please give me the reference too.. You can change the font of the textbox as a whole. Mixing multiple fonts inside a single textbox is not supported in this release. This feature (Rich Text) is planned for a future release. ...Show All
Software Development for Windows Vista Conceptual problem - Force developer to implement a method
Dear all, I am building my own Activity, a very simple one. I would like to have something like this: protected override ActivityExecutionStatus Execute(ActivityExecutionContext context) { string[] res = a(); return ActivityExecutionStatus.Closed; } My a() function is define somewhere in my activity but is forced to be implemented by someone who uses my activity. In workflow he will have to write something like: string[] a() { return new string[] {"r1", "r2"}; } And of course link to method should be settable in activity properties. I tried to play with DependencyProperty and my own delegate, nut no way to make it works. Thanks a lot. Alex Alex, Please check this post out: http://forums.microsoft.com/ ...Show All
SQL Server Disable excel rendering from export button
I have around 7 subreports in one main report. The data displays fine as required but when I try to export it to excell format it gives me an error saying that "Subreports within table/martix cells are ignored" . I know this is a known error and Microsoft would be releasing a fix for it in future releases(I hope in SP2 :-)). As per our requirement we have to store each report in excell format in our DB. Because of this problem we came to a conclusion to hide the excell format from the export button so that the user can select PDF insted of Excel. My question is : How do I disable the Excel format on the export button. There are 2 ways you could do this. First is to get rid of (rename) the rendering DLL file. ...Show All
SQL Server execute sql task resultset
hi all, in my execute sql task, i have a try catch statement to catch error code if there's an error... begin try insert into person.contact (contactid) values ('1') end try begin catch select @@error as ErrorCode end catch this ErrorCode will be mapped to a user variable. my problem is the value for ResultSet. in order to assign ErrorCode to the variable, i have to set the ResultSet value to Single row, but if this task does not fail, i need to set ResultSet value to None in order for it to run successfully. How do i go about solving this problem Please help. thanks! Well, I am not quite sure, but I think when you don't use the try....catch and a error occurs; the variable will ...Show All
Visual Studio Tools for Office "Unable to install or run..."
I wrote a Windows application in VB.net, VS2005. My program uses one-click deployment and is up to version 1.4. We recently tried to install the latest version of the program on a user's pc who hadn't had any of the earlier versions of the program installed. When she clicked on the Setup.exe the VS 2.0 framework was installed aok but failed afterwards with the following error message: " Unable to install or run the application. The application requires that assembly office Version 11.0.0.0 be installed in the Global Assembly Cache (GAC) first ." The user has Office 11.0 installed on her pc already. I am a total newbie when it comes to the GAC and assemblies but I looked at the program's references and saw that I had: ...Show All
Visual Studio Express Editions image with grid coordinates?
Hi, Is there any way to define an image with grid coordinates in order to use the mouse over event Ken That’s anywhere on picturebox1. What if I want only a range to respond to the mouse down event, for example if the mouse is in these coordinates 22 , 62, 13, 7 ...Show All
Software Development for Windows Vista Register COM component on Vista
How to register COM component on windows Vista. It seems that the administrator acount is required. Help! Thanks. I need to know the answer to this too. I used to use a batch file with XP to register my COM objects, something like this: tregsvr Module1.exe tregsvr Module2.exe tregsvr Module3.exe tregsvr Module4.exe tregsvr Module5.exe When I run the same batch file on Vista Business each registration returns as successfull, but hasn't actually worked. It makes no difference if I run the batch file as a user or an administrator. Does anyone know how to automate this process ...Show All
Visual C++ Replacing a character in a string
Hi, I have this string that I want to replace all "." with a "," and I can't get it to work. I use VS.NET 2005 and C++. My code is: String ^ str = txtText->Text; if (str->Contains( "." )) { str->Replace( "." , "," ); } txtText->Text = str; Anyone have any ideas Best /M I think you should try this: txtText->Text = txtText->Text->Replace('.', ','); I hope it works. ...Show All
Windows Forms File system implementation in GUI!
sup! I am trying to design a GUI using VC++ .NET in visual studio express edition . The basic functionality is in place.I have a Datagridview where the user can enter some text. The question is now how can implement the complete file system like the saving the file, making a new file and other stuff that we know from the traditional windows based application I have absolutely no idea how to start...any input will be welcome. Cheers! As for actually saving the file, you will need to look into the System::IO::File namespace. Here is a simple example of saving some text to a text file. #include "stdafx.h" using namespace System; using namespace System::IO; int main() { & ...Show All
Smart Device Development Problem Installing .Net CF
Hi, I have an Acer N30 running Windows Mobile 2003 ( 4.2) and a Samsung S3C2410 processor. When I try and install the .Net CF I get the message below "Microsoft .Net 2.0 failed to install on your device because the installation file is not intended for this version of the device" I have tried both the first release of the CF and the service pack version and both give the same error. I am almost 100% certain I am using the correct version of the setup file. Its the one found here http://www.microsoft.com/downloads/details.aspx familyid=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en I am updated the ROM on the PPC and this made no difference. I am using Active Syn 4.2. Could someone please help as I ...Show All
Visual C# Stack and Heap Data Structure
hai all, value-type uses Stack Data structure, for method calls. ref-type uses Heap Data structure, for method calls. And my question is, What is Heap DS Anyone pls explain me . Also in this regard, how it is used with ref-types .That is how heap is used to change the original value Also, how is Stack DS used with value-types thanks.. Hi, Please go through the following link. Hope this helps. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/datastructures_guide.asp Thank you, Bhanu. ...Show All
Visual Basic If function
i have a code to search a datagrid to find the text i typed in the textbox. when the wordt isn't found , or there is no text in the text box , i want a msgbox to open. can somebody help me whit the code Dim strcolumn, strsearchvalue As String strcolumn = CataloogDataSet2.boltype.Columns(0).ColumnName strsearchvalue = toolstriptextbox1.Text Me .BoltypeBindingSource.Position = Me .BoltypeBindingSource.Find(strcolumn, strsearchvalue) oh, i didn't notice that condition... here goes... Dim index As int = -1 if strsearchvalue.Length > 0 Then index = Me .BoltypeBindingSource.Find(strcolumn, strsearchvalue) End If If index >= 0 Then Me ...Show All
