Dania151638's Q&A profile
Software Development for Windows Vista Problems with state persistence and timer services
Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress is evident every time: With the state and/or timer service enabled, the flow gets stuck on ListenForManagerApproval and then after a while the workflow gets the status "aborted". Any ideas why ...Show All
.NET Development ErrorCode=10054
Hello All Having a little trouble with something that working with VS2003. Let me explain what my app does it is an employee list so all people can stay in sync with local database. This is a PPC2003 app that goes to my website runs a page that generates an XML file lit a RSS Feed. Dim sr As New IO.StreamReader(response.GetResponseStream) While Not reader.ReadState = Xml.ReadState.EndOfFile If reader.Name.ToLower = "item" Then 'create new row in the table If Not reader.NodeType = Xml.XmlNodeType.EndElement Then 'add the data to the row 'read the next element from the ...Show All
Visual Basic How to Bounce a PictureBox on a Form
I've been trying to create a program (with Visual Basic 2005) to bounce a PictureBox between to arbitrary points on a form, but it was not as easy as I had expected. I can get it to move left and right, but I need to click a button each time. How can I tell the program to bounce the PictureBox a certain number of times without always having to click a button Any help will be greatly appreciated. Well you can make a timer.... Protected friend withevents as new timer ' as a member variable declare a member variable called Count Protected count as integer A member variable is declared outs ...Show All
Visual Studio Express Editions BUG:???? Two ComboBoxes on one form won't allow debug
I have a simple windows form, and name it form1. I then add a combobox to it and start the debugging. Works fine. I then stop the debugger and add another combobox. I go to start the debuggin again and it won't work. It starts to work but then just quits the debugger. It acts like there is a "Me.Close()" in the form load(). I also have another computer running the same vb express that this doesn't happen on. Is this a bug Or is it a setting that somehow got changed. Any help would be greatly appreciated. I have spent WAY too much time trying to figure this out. Also, there is no code in the form. Just a simple example that won' ...Show All
Visual Studio Tools for Office ActionsPane with a Shared Addin
Hi, I need to add an ActionsPane with a Shared Addin to a Word Document but I can not find the way... I have a user control and when the user creates a new document i want to show the user control in the task pane. Can i do it with a Shared Addin With VSTO I found the way, but i didn't find with a shared add-in. It is possible Thanks a lot, Juan Hi Juan, From my understanding, VSTO don't provide an application level customization, but we can create "document-wide" customization only. Therefore, what you want is not able to make it by VSTO 2.0 Thanks, ...Show All
Smart Device Development Building images for Windows CE 5.0 emulator httpd
I downloaded the Windows CE 5.0 evaluation pack. Is it possible to build images for the Windows CE 5.0 emulator so I can include a Web server (httpd) in the device emulator I also want to be able to transfer files from my PC into the emulator. Is this possible using the evaluation version of Platform Builder Yes, you can include a web server into CE 5.0 OS images - it is in the catalog under "\Core OS\Windows CE Devices\Communication Services and Networking\Servers\Web Server". Yes, you can transfer files from your PC into the emulator. There are a couple of ways: 1) Use the Remote File ...Show All
Visual Basic Grouping / Structures in Classes
I searched in the documentation but not sure how i can define class in this way where Related properties and methods should Come in a Group Say FirstGroup, secondgroup etc. i/o showing in the Main class Instead of MyClass.FirstProp i want to make groups in this way :- MyClass.FirstGroup.FirstProp MyClass.FirstGroup.FirstMethod MyClass.SecondGroup.SecondProp nope. . . not the way its done. if sets of methods belong together, they should be refactored to interfaces. cast the object back to the desired interface and call the methods - Public Interface Group1 Sub ...Show All
Smart Device Development show path of process
i am trying to make a process viewer using OpenNETCF.ToolHelp.ProcessEntry. I am able to show the processid, base address, thread count and the exe name. however, i want to display the full path of the exe file. i understand that OpenNETCF.ToolHelp.ProcessEntry is a wrapper for the ToolHelp.dll ProcessEntry32, and it does not have a member for the path of the exefile. it only provides szExeFile, which is the name of the exe file. (http://msdn.microsoft.com/library/default.asp url=/library/en-us/perfmon/base/processentry32_str.asp) is there a way to determine the path i saw one program in this site: http://madebits.com/tools/pocketp ...Show All
Visual Basic Creating a Windows Service
In VS .NET 2003, you could create a Windows Service using Visual Basic. This was a great feature and I used it several times. I went to try this in VS 2005 and it doesn't seem to be an option. Will this feature be included in the final version of VS 2005 or am I just not finding it in B2 Thanks. That is the case, but I would be very surprised if VS Profesional didn't contain the Windows Service Template. Well it did in VS 2003 anyway. ...Show All
Visual Studio Express Editions Downloading videos
I am trying to download the "Windows forms control series" videos from this site. http://msdn.microsoft.com/vstudio/express/vb/learning/#forms but it only downloaded 1k files. Did any one get tfis videos downloded You can't download the whole video because it is .wvx file. You can download this metafile and watch the video (if you are connected on the web) but you can't save it. ...Show All
.NET Development Zip and Gz Files
Hi all, hope somebody can help me. I'm writing VC++ code with java::util::zip lib; when I manage zip files everything is fine and this code works: XmlReader^ xread; ZipFile^ zf = gcnew ZipFile(tb_template->Text); Enumeration^ es = zf->entries(); ZipEntry^ ze; while (es->hasMoreElements()){ ze = (ZipEntry^)es->nextElement(); xread = XmlReader::Create(ze->getName(),settings); <. . .> } but I'm not able to make the same with gz files and I found nothing better to do than deflating to a temp file and creating the xmlreader upon it. ANY IDEA CAN I CAST SOMEHOW JAVA'S BUFFERED READE ...Show All
Visual Basic How to get computer names on the network
I want to populate all computer names available on the network in a listbox in vb .net 2005. Please if any one knows how to do it tell me. Hi, Last post of this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=215715&SiteID=1 has the code. Add a reference to System.DirectoryServices to your project and imports System.DirectoryServices in your code file. Best regards, ...Show All
SQL Server Data Source Problems in Report manager after Published from VS
I right-clicked my shared data sources in my SSRS 2005 Report Project and Deployed them to http://servername/reportserver . They showe up in Report Manager but error out when trying to create a model from it in it's properties. Furthermore, in my SharePoint webpart, the first report I published from the same project also cannot run because it cannot talk to that datasource even though it successfully deployed to my Report Manager. What could be causing this miscommunication between the report and other parts being able to use it after what seemed to be a successful deployement form VS ...Show All
Visual Basic ShellExecute not working
Hi I'm having problems opening a .pdf file from VB7. I know from other posts that the correct code is: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( ByVal hwnd As Long , ByVal lpOperation As String , ByVal lpFile As String , ByVal lpParameters As String , ByVal lpDirectory As String , ByVal nShowCmd As Long ) As Integer ShellExecute ( 0& , "open", "c:\Manual.pdf", "", "", 10) But always returns file not found, even if I try to open notepad or a website. Also tried to pass the desktop window in the place of 0&, but the sa ...Show All
Windows Forms How to change a controls size like In VB.net express,clicking on one side of the control, and dragging it to any size.
I have looked through the database, and couldnt find anything on it, im new with .net, so if anyone can help please do. See if the following helps (it only works on the right side but you should get the idea): Private _startDrag As Boolean = False Private Sub Form1_MouseDown( ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me .MouseDown 'check for hit to drag location on right side If (e.X >= Button1.Left + Button1.Width And e.X <= Button1.Left + Button1.Width + 2) And (e.Y <= Button1.Top + Button1.Height + 2 And e.Y >= Button1.Top - 2) T ...Show All
