Software Development Network Logo
  • SQL Server
  • Game Technologies
  • .NET Development
  • IE Development
  • Smart Devicet
  • Microsoft ISV
  • SharePoint Products
  • Audio and Video
  • Visual Studio
  • Visual Basic
  • VS Team System
  • Visual FoxPro
  • Visual C#
  • Visual C++
  • Windows Forms

Software Development Network >> Prashweenet's Q&A profile

Prashweenet

Member List

Joe Morel - MSFT
JSR2005
Cannan
Bill_W
Sami Karaeen
Yinon
Pramod_SN
MunishGupta
Jesper L. Nielsen
Pat Pope
Linda Cornerstone
IMBack
entrance80
Mirza Ashraf
melkor
AutumnP
Sergio Ortiz
VOC
setareh
mattii
Only Title

Prashweenet's Q&A profile

  • Visual Basic MsgBox always return "no" regardless of what the user click

    I am using VS2005 and have a messagebox inside of an event that does not work properly. The code is below: If Microsoft.VisualBasic.MsgBox( "Do you want to save your changes" , MsgBoxStyle.YesNo) = MsgBoxResult.No Then Exit Sub End If The problem is regardless of whether the user clicks Yes or No, it always returns No. If I add another MsgBox in the code immediately before the if statement, then the if statement will always work properly. (see code below) Microsoft.VisualBasic.MsgBox( "Dummy MsgBox" ) If Microsoft.VisualBasic.MsgBox( "Do you want to save your changes" , MsgBoxStyle.YesNo) = MsgBoxResult.No Then Exit Sub End If I can't figure out what is wrong h ...Show All

  • Smart Device Development How to detect if a Smartphone application is put in the background?!

    Hi there! Following problem: I have a Smartphone application which has main window which consists of a single (docked) TreeView. I need to perform certain tasks when the application is put in the background. That is when the Escape/Back key (KeyCode 27) is pressed. However it looks like and TreeView / ListView eats up that KeyCode. I tried a number of things but i simply can't get the escape key event. This is probably because the escape key might also be used to collapse tree nodes. So how on earth can the application figure out, when it is put in the background when neither the TreeView nor the Form fires the KeyUp event for the Escape/Back key Do i have to do some dodgy constructs with the OnDeactivate / OnMinimise event ...Show All

  • Software Development for Windows Vista Uninstall a program

    I have searched high and low for the answer to this question I have build 5600 install on my machine. I installed a few programs and with out luck they don't work now the question i have is how to i uninstall them. I go to control panel/programs and features. I click the program i want to uninstall and click uninstall/change. Nothing happenes is this feature disabled or am i doing something wrong (member840) I also have that issue i try to uninstall norton antivirus trial software and it wont let me. can you help me It would not let me get a uninstall tab or change or repair.and I also got a message pecific modul can`t be find. ...Show All

  • SQL Server Need Help on this SQL Statement

    Hi All, sqlLstProds="Select * From PRODUCT_DEF "&_ "WHERE productID IN(Select productID From PRODUCT_DEF WHERE (IDProductCriteria = 5) AND ([Value] = '"&getSession("ModelID")&"')) "&_ " Order By IDProduct, IDProductCriteria" I have the above SQL Code in an ASP page. This queries the Product_Def table, however there is also a table called Product_sType, the primary key in that table is productID which corresponds to productID ub the Product_Def table. I need to add to the query a where clause, where active = 1 active 0 is obviously discontinued products, how would I do this So basically, it's somewhat of a join of some sort, like select * from Produc ...Show All

  • Visual C# Referenced DLLs - How to dynamically update the path of the reference dlls in another solution?

    Hello, I am working with 2 C# solutions right now, 1 is the main application we are creating (let's call it MainSolution.sln for now), the other is a unitTest solution (UnitTest.sln) created as a separate solution file, as the main solution consists of too many projects and compiling it takes a long time. It was created separately also because different groups of developers can work on the respective solutions they are tasked to do. In the UnitTest solution, we create unit tests for the main solution classes, hence, for each project in the unitTest solution, I've added references to the respective main solution dlls. A typical full path of the Main solution's DLL is C:\MainApp\<foldername>\bin\Debug\<filename>.dll I'm cur ...Show All

  • Visual Studio VSS2005 crashes several times a day

    Hi, Visual Sourcesafe 2005 is crashing repeatedly for me at these places: Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x000122ba. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x000111de. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x0003426d. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00043345. All of these seem to happen if I scroll/click the mouse immediately after performing DIFFs. I think all of the crashes are caused by the same bug so I'm ho ...Show All

  • Visual Studio Express Editions Database search

    This has probably been asked and answered before but here goes. I have set up a login for my application and need to serach my database for username/password combination. Neither of which is the primary key. This is the code I have come upi with so far but it doesn't work! I have used username/passwords that are in the database so it should work. Please can anyone help me Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim user As String = Me .UserName.Text Dim password As String = Me .Password.Text If user = "Admin" Then ElseIf password = "pass" Then Dim myAdminMainForm As New MainForm ...Show All

  • SQL Server Nested set show leaves of parent

    Hello, I have the following code which will show all bottom level leaf nodes of the hierachy: SELECT name FROM tree WHERE rgt = lft + 1; I'd like to be able to filter results by a node. For example in a tree such as: Products ReleaseProduct Release1 Release build 1 Release build 2 Release 2 Release 2 build 1 Release 2 build 2 Build Product Build 1 Build 2 If Build 2 is chosen (any node with no children) I'd like to just show the Buuild 2, if ReleaseProduct is chosen Release build 1, Release build 2, Release 2 build 1 and Release 2 build 2 will be shown and if BuildProduct is chosen I'd like to display Build 1, Build 2. I understand the prinicipals but my SQ ...Show All

  • Smart Device Development listview with system imagelist (white square)

    hi, I have a listview that using a system imagelist. The problem iIm having now is when i select/highlight a row, there is a white square around the file/folder icon(not masked ) from the system imagelist. Is there a way to fix this problem without using a owner drawn listview code example or idea will be appreciated. thanks in advance. what do u mean by using the same dimension of bitmaps declared in imagelist i get the small icon imagelist from the system and set the return handle to the listview so the dimension should be 16x16 ...Show All

  • Visual Studio Team System Cannot edit TFS Reports with Visual Studio Report Designer

    Hi you all, I'm having a problem while opening Reports provided by TFS (such as WorkItems.rdl) with visual studio. When I try to "Preview" the report I get the error: An error occurred during local report processing. Query execution failed for data set 'IterationParam'. Incorrent syntax near 'Measures' I get the same report for different datasets if I try to check other reports. The datasources (TfsOlapReportDS and TfsReportDs) are well configured in both the report server and the visual studio project. These reports work well on the report server, but I need to edit them. Any suggestions Many thanks in advance.   Have you generally followed the instructions here http://msdn2.mic ...Show All

  • Windows Forms DataGridViewComboBoxCell event problem

    Hello All I have a DataGridView in which i have set my third column to a DataGridViewComboBoxCell. I need to populate this depending on the values in the row cells. So I need to fire an event when I click my combo box item cell . The reason is when Iclick only the combo box will get populated with values taking the primary key values of the row. (eg : Customer Id) What is the best event in the data grid view events how can i attend to this Please help Thanks in advance Prsah Try handling the CellBeginEdit event, convert the cell to DataGridViewComboCell type when the cell is in the DataGridViewComboColumn, set its datasource ,displayMember and ValueMember as you want: void ...Show All

  • Windows Live Developer Forums VE development with BEA Portal

    Does anyone have experience integrating VE and/or MapPoint web services into a portal application We are looking into the feasibility of using VE or MP for locator services in a web site built with BEA Portal using Java as the underlying language base. Yes my current project integrates VE into a DotNetNuke (ASP.NET2) portal. I highly recommend an approach of writing webservices for all your server side functionlaity and then wrapper pages that are call using ajax, they call the web service and produce the javascrip to be executed. This architecture allows you to move to a point where the pages are calling the web services directly. I really like the idea of letting the client do as much of the presenatio ...Show All

  • .NET Development Signing (X509) Xml and PDF

    If I am asking in the wrong forum, then please forgive me and see http://forums.microsoft.com/msdn/showpost.aspx postid=660842 I am needing to sign, using X509 certificates, both Xml and Pdf documents. Possibly more documents in the future. I am also going to need to be able to verify certificates on documents to ensure we issued the certificates (basically we would be the root authority). What is going to be the best route Should I use CAPICOM or does .NET 2.0 have classes which will provide this functionality Thanks, gorshing ...Show All

  • Smart Device Development Breakpoints causing connection loss on debug

    What started out as a random problem has become a full-time issue. Attempting to run a WM 5.0 app causes a "The Connection to the Device has been lost, blah, blah, blah" error. Deleting ALL breakpoints allows the app to deploy and run perfectly. Breakpoints can then be set for debugging. Setting a SINGLE breakpoint before deploying, however, will now cause this problem. The larger the app became, the more prevalent the problem became until some critical point was reached...now it happens every time. VS2005 and ActiveSync have been removed/reinstalled. I've tried VS SP1 Beta and ActiveSync 2.5 Beta. I've tried several different devices along with the emulators. No change. Has anyone heard confirmation of this ...Show All

  • Visual Studio Express Editions My.Settings file location

    Hi. Is there an easy way to change the location of user config files without having to re-write the entire settings class and provider Reason: I'm the only user of my PC, and I do a lot of small samples that never make it to real life (at least, not on their own.) Usually when I'm done with the test/sample project it's deleted or at least never used again. Then I have several unused user configfiles floating around in the Application Data folders. What I would like was, to be able to save the config files in the bin folder, so if I choose to delete a solution, the config files are deleted as well. I have no need for individual user files. Just one. The Application Settings would be ideal, except that they are read-only. Is ther ...Show All

©2008 Software Development Network