kangalert's Q&A profile
Software Development for Windows Vista Retrieving data with workflow
Hello, am a little confused about Retrieving data should i use the workflow to retrieve the data for example filling form on the aspx page i don't think the workflow is made for this the question here is should i use the workflow to retrieve data or just using the workflow to update the state and invoking events and actions Thanks, Tamer Your workflow is not so much a data collector as it is a coordinator of events and state holder. You collect data through a user interface, pass it to the workflow for processing and decision making, and the workflow will then perform the appropriate actions and accept more data at a later point. Hope this helps. Thanks, Angel ...Show All
.NET Development Help : "error: 40 - Could not open a connection to SQL Server"
I'm using VS2005 and SQL2000. I created a database name "myDatabase" in SQL Server 2000 and built a website that connet to this database. When I'm running this website in VS2005 IDE (press F5 or Ctrl-F5), everything is OK. I publiced this site. When I connect to database on my computer, everything is OK also, but when I connect to database on another computer, an error occurred like this : "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)" Now, I do ...Show All
Visual Basic How do I make a application close on button click?
Topic Thanks Private Sub cbEverLovinButton_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles cbEverLovinButton.Click end ' or application.exit End Sub ...Show All
Visual C# Microsoft.Office.Tools
what should I add as refrence to my project for using this namespace Microsoft.Office.Tools should I download & install some software at the first place http://msdn2.microsoft.com/en-us/library/54ds2za4.aspx 'How to' is explained overthere. Reinout ...Show All
Software Development for Windows Vista Problems with Filewatcher in EventHandlingScope
The problem is that when i use the filewatcher in the eventhandler for my eventhandlingscope, I have to copy a "wakeup-file" to the drop-folder in order to make it work. After that the workflows runs as expected. (WF samples can be downloaded at: http://go.microsoft.com/fwlink/ LinkId=73348 ) The problem can easily be reproduced by using the Sample FileWatcher Activity: Add an EventhandlingscopeActivity and drag event1 into it. View eventhandlers, add an eventdrivenActivity and drag event2 into it. Add a codeactivity with a WriteLine, for debugging purposes. remove event3 and the ListenEvent. If we now drag a file into the "temp2"-folder, the CodeActivity wont execute the first time, but if we drop ...Show All
Visual C# #define INT_SIZE int32 support?
I have a counter that I need to easilly change between int16, int32, int64, float, double, etc when needed. In C I would use a define, but here I can not. I've looked into generics but that won't do because I need to be able to increment the int value and with a struct-generic input for the class that won't work. So how can I do then I tried using int btw but that made it so darn slow! You are refering to C's preprocessor #define. Does that mean "when needed" is compile time And why/how is using int makes it slower than using other numerics ...Show All
Visual Studio Team System Work items and source control
Howdy, I've just installed TFS (after a few days of pounding my head)... and now I've followed the walkthrough to allow SSL/Basic auth... so as to allow access over the internet (this is a test server, setup on an external box). I've managed to get most aspects working properly, however: from Team Explorer, "Work Items" fails to fill, and returns a red "X". Source control also fails. The details: output in VS after a refresh of the team project: Team Foundation Server vs-371_vds-104 does not exist or is not accessible at this time. Technical information (for administrator): HTTP code 503: TF30059: Fatal error while initializing web service In the application error log: 3 warnings from TFS work ...Show All
.NET Development Problem uninstalling DLL from GAC
I have created a DLL that is to be shared between an ASP.NET 2.0 web application (hosted in IIS 6.0) and several SQL Reporting Services 2005 reports running on the same web server. I strongly named my DLL, installed it in the GAC, and the web app and reports were able to utilize the DLL. The problem arose when I found a bug in my DLL, rebuilt it using the same strong name, and attempted to install it in the GAC over the top of the old version (I didn't want to create 2 side by side versions of the DLL, since the second version was really just a hot fix for the original version). Anyway, after successfully installing the new DLL to the gac (successful meaning I didn't receive any warnings or error messages), my web app and reports appea ...Show All
Visual Studio Express Editions assigned variable to database row
hi guys, using vb 2005 here what i'm trying to do is assign a row of a database to a variable. here's what i have i have a database with columns team, player1, player2, player3 let's say row 1 for each is Wildcats, Joe, Jimmy, Bill ok, now in the program i have a variable 'pg' that i would like to be assigned with row 'Joe' Now, I made a combobox databinded to the database where I can pick the school I want. I then made textboxes that are databinded to the rows. Then I assigned 'pg = txtbox1' etc. This works. However I would like to get rid of the textboxes if I can. I got to 'pg = teamdataset.schools.player1column.tostring'. But, I'd like to get to the row. Is this possible and if so, how do I do it. I hope all this made ...Show All
Visual Basic EOF equivalent in BinaryReader
I am writing code to read a binary file database using BinaryReader. After the first several values, the remaining values contain records and fields. How would I loop thru the file until reaching the end of file Using EOF obviously does not work (don't even have a FileNumber). If binReader.PeekChar() <> -1 Then FirstValue = binReader.ReadInt32 If FirstValue < 0 Then LenName = CStr (System.Math.Abs(FirstValue)) TypeName = binReader.ReadString Else NumRecs = CStr (System.Math.Abs(FirstValue)) End If Do While Not EOF( ) ‘this of course does not work Value_a = binReader.ReadDouble.ToString Value_b = binReader. ...Show All
Visual C++ Unicode characters in dialog box?
Hello all, what i would like to do is display unicode characters like Ω as part of a label in a dialog box. But i dont know, how i should do that. I am pretty new to C++ so please help me out here. Peregrin I'm afraid this isn't really the place to be asking that (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 ). The UI newsgroups at http:/msdn.microsoft.com/newsgroups are much better suited. If I am to guess how you'd go about doing it, I'd say you should compile your application for unicode, and just write whatever unicode string you want. A possible test would be: #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <tchar.h> int main() { Me ...Show All
Visual C++ The system cannot execute the specified program.
I wrote a handy dandy tool in Microsoft VC 8.0 on a 32-bit developement machine, but when I tried to put the executable onto the 64-bit server it gives me the error message "The system cannot execute the specified program." I know that 32-bit programs can run on a 64-bit machine, because on another machine I was able to make the program work (but that machine had SQL and a couple of other programs installed). Any ideas on what is going wrong here I understand that there is probably an issue with the manafest, but the manafest is contained within the executable, and any attempt to change the manifest causes the executable to be corrupted. I would assume that the only Issue that I have is that the C Runtime is not in ...Show All
Audio and Video Development Video Size
As I see current version of the ihd doesn't support vido resizing. I.E. I can not place menu items at the left side of the screen and video at the right side of the screen. Is it planned to be implemented in future Polina wrote: Are they published http://www.dvdfllc.co.jp/hd_dvd/hd_what.html#howtos ...Show All
Visual Studio 2008 (Pre-release) ListBoxItems and Multiple Children.
I have a custom style applied to my ListBox so that each ListBoxItem has several child controls attached to it. Once an ListBoxItem is selected, I need to access the data contained within each of the child controls. I remember reading somewhere a way to cycle through controls in situations like this, but I cannot find where the documentation was. Additionally, one of these controls is an PasswordBox. I would like the PasswordBox to get keyboard focus once its ListBoxItem has been selected. Is there away to set the focus via XAML Triggers, or can this only be done in code Thanks This appears to be what I was looking for: ListBoxItem lbi = ( ListBoxItem )(lb.ItemContainerGenerator.ContainerFromIndex(lb.SelectedIndex) ...Show All
Smart Device Development Designning my own combobox
Hi, i'm developing my own control inherited from combobox class, but i have some problems with the dropdown, keydown behaviours. More exactly, when i press enter button in the smarthphone and a combobox have focus i don't want to shown all combobox items list to select one. I have made my own combo, something like this : Public Class Class1 Inherits System.Windows.Forms.ComboBox Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs) If (e.KeyCode = System.Windows.Forms.Keys.Enter) Then MsgBox("hi") Else MsgBox("bye") MyBase.OnKeyDown(e) End If End Sub Public Sub New() Me.Items.Add("Baseball") Me.Ite ...Show All
