likestoski's Q&A profile
Visual Studio Team System Message "rsItemNotFound' in Web Part
Hi, After I change the Web Part appearance in my Team Project site (just for quality indicators), I’m now with this following Message: The item '/SAGAAdvanced/Quality Indicators' cannot be found. (rsItemNotFound) Does anyone know how can I fix it ...Show All
Visual Basic Is it there?
Here is what I have in my password form. Public Class PassCreate Dim strPass As String Private Sub btnPassCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPassCreate.Click strPass = txtPasscreate.Text My.Computer.FileSystem.WriteAllText("C:\Pass.txt", strPass, True) Me.Hide() PGS.Show() End Sub End Class What I want is If C:\Pass.txt <> exist then create a password write it to a file C:\Pass.txt hide form and show main elseif C:\Pass.txt does exist then enter password and if it matches C:\Pass.txt hide this form and show main. Ok, here ...Show All
Visual Studio Reference to UserControl with CreateToolWindow2
Does any one know how to get a reference to the Hosted UserControl when creating a tool window If not is there a way to pass the DTE2 object used to create the tool window to the Hosted UserControl The CreateToolWindow2 API's last parameter is a ref parameter and is used to get back the hosted user control from the tool window. For e.g. the following code snippet creates a tool window that hosts a user control and then uses the control object parameter to call a method on the user control. The assemblyPath is the path to the assembly with the user control. object controlObject= null ; toolWindow = w ...Show All
Visual C++ problem while calling functions in unmanaged dlls from C#
hello I have a problem that i can't overcome. I have built a dll from VS C++ 2005 which has some api-s to access smart cards. I need to call those api's from C# application. the functions looks like this: extern "C" { bool EXPORT CashCardInitNewCard(MNEW_CARD mCard, char[] mNewUserPin) { Sleep(10); MessageBox(0, mNewUserPin, "" , MB_OK); return false ; } here MNEW_CARD is a structure. it looks like this: struct MNEW_CARD { WORD wType; WORD wCountry; WORD wRegion; WORD wPlace; DWORD dwUserNmbr; }; Export is a typedef containing _declspec ( dlle ...Show All
Visual Basic Date Time Picker
Im using two datetimepicker's. I need to calculate the amount of weekdays and weekends. (that a car was rented) If (dtpPickUp.Value < dtpReturn.Value) Then 'make sure the calender dates are valid totalDays = ( CInt (dtpReturn.Value.Subtract(dtpPickUp.Value).TotalDays)) For i = 0 To totalDays 'add days to either weekend or weekday If (dtpPickUp.Value.AddDays(i).DayOfWeek = DayOfWeek.Saturday Or _ dtpPickUp.Value.AddDays(i).DayOfWeek = DayOfWeek.Sunday Or _ dtpReturn.Value.AddDays(i).DayOfWeek = DayOfWeek.Saturday Or _ dtpReturn.Value.AddDays(i).DayOfWeek = DayOfWeek.Sunday) Then weekEnds += ...Show All
Smart Device Development Strategy/technology choice for Mobile App on VS 2005
We have a non-mobile web app which runs asp pages with a VB.NET 2005 business rules DLL in the middle and either sql or oracle at the backend. The VB.NET DLL is activex enabled. Now we are developing a mobile app in vb 2005 for mobile data collection. This is running Sql Server CE. I would like advice on the best way to connect the mobile application to the main app (a) when the app is connected on wireless or activesync and (b) when the app is disconnected. The web app already has an integration toolset so it can create and receive XML files and it can connect to external databases to import and export data. It seems a bit goofy to ...Show All
Smart Device Development Where to download PPC 2003 images?
Hi, everyone. I've installed the device emulator from http://msdn.microsoft.com/mobility/downloads/Emulator/default.aspx including the WM5 images. I would also love to have a PocketPC/Windows Mobile 2003 emulator based on the device emulator (as it is running under VMWare, which the old emulators do not support), but the download link for " Windows Mobile 2003 Emulator Images for Device Emulator 1.0 " on that page just links to the WM5 image download page :-( Some other threads here seem to suggest that there actually are emulator images for WM 2003 out there, does anyone know where to download them Thanks, Daniel ...Show All
Windows Forms "No parameterless constructor defined for this object"?
Hello, I was wondering if anyone knew what this error means, and more importantly - how do I fix it All I'm doing is setting a forms' parent to the MDI form before it shows. The error pops up and gives me the option of continuing. So I do, and it works perfectly normal. Why did even pop up in the first place I use the s ...Show All
Windows Forms Updating Listbox Items
Short and Simple: How do I do this ;) Nope. my own stupid fault. No problem. Works fine. It's not that. That text works fine. Here's my form. Listbox looks like this: Me.ListBox1.Items.AddRange(New Object() {"Mike", "< xml version=""1.0"" encoding=""utf-8"" >", "Ken ", _ "P"&q ...Show All
Visual C# reboot or shutdown os
hi how i can reboot or shutdown os with dotnet framework library (without api) Hi Here is a link http://www.codeproject.com/csharp/timercomputershutdown.asp Hope this Helps ...Show All
Windows Forms Run-time,design-time component
I am interested in dividing my components into run-time and design-time components. I want to do this so that code I only need for design time is not included in the run-time component, which is shipped to an end-user. The design time component would only be needed by the programmer when making use of the design-time capabilities of my component, such& ...Show All
.NET Development Issue about use Send and recieve Data between Pop3 using SSL
Does this problem have problem I can't use it to connect to pop.gmail.com (Ports 995) Thank . Public Class Pop3SSL Dim TCPC As System.Net.Sockets.TcpClient Dim SL As System.Net.Security.SslStream ReadOnly Property MailCount() As Long Get Dim ThisResponse As String Dim tmpArray() As String ThisResponse = SendCommand(SL, "stat" & vbCrLf) tmpArray = Split(ThisResponse, " ") MailCount = Val(tmpArray(1)) End Get End Property Function SendCommand(ByVal SL As System.Net.Security.SslStream, ByVal sToSend As String) As String Dim bData() As Byte = System. ...Show All
Windows Forms more information
Is there any way to get more information about why a creature send has failed i mean log files or anything ive not recieved any creatures for a while now, and i have reintroduced some several times, but sending failes most of the time (not all had one successful send). Im guessing it might be the black list, but it would be helpful if there ...Show All
Visual Studio Team System How to: Create a Web Service Test - typo in MSDN documentation
The above doc states to type in SOAP-Action when testing web services. This does not work. In the drop-down the correct word is SOAPAction. There are some more typos for creating web plug-ins. On step 4 for both the <How to: Create a Web Test Request Plug-In> as well as the <...Web Test Plug-In> the reference to be added mentioned actually is the using directive to the namespace. The actual reference that needs to be added is: Microsoft.VisualStudio.QualityTools.WebTestFramework. Getting started using VSTS these little typos are a little time-consuming to get around. Burkhard ...Show All
SQL Server Subscription Missing
We are seeing a problem with the users of our application. If the user closes our application from running programs (as best as we can tell as we cannot repro in dev) and SQL Mobile is in the middle of an async sync, sometimes when the application restarts it fails to load the properties for replication from the database. We are using code that is nearly identical to the samples provided by MS for performing replication async. Basically, the database still exists on the device and the application can use it just fine, but when a sync starts, the database is already there, so it tries to load the properties at which point we get a message sta ...Show All
