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

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

captainsina

Member List

adm10
nidsu
bagjuice
Dedy Susanto
Kitz
Ananda Ganesh
Tigerwood2006
TRID
arists
KevinBurton
lleoneye
sgiannone
Ninel_G
MarkBosley
McGeeky
ramana reddy
Daikoku
Shril Pyrrho
Novelle
GeorgeMohr
Only Title

captainsina's Q&A profile

  • .NET Development Cannot find a Datatable

    It s C# .NET project on VS2005. I have a DataSet. At one point it is filled with Tables, 15 in all. A few moments later a TabPage MAY be generated and a graphics control object is set up on that page. The DataSource for the graph is one of the DataTable(s) in the DataSet. The graphic comes out OK. The trouble is , the situation is dynamic and I have a stream of records coming from a server which a portion of my app sorts out and distributes between the tables. At the moment the graph was created the DataTable in question may have let say 10 rows. I see all the values on the graph. A few seconds later a new record may arrive that logically belongs to this table and my code begins to look for the DataTable with this index and I get Mes ...Show All

  • SQL Server Edited data won't propagate back to the database (VB 2005 Express & SQL Server 2005 Express)

    Hi, I'm trying to learn some VB programming with the VB 2005 Express Absolute Beginner Series video tutorials (which I think is great) and have come across a problem that I can't solve. When I follow the instructions in Lesson 9 (Databinding Data to User Interface Controls) my application will display the data from the database correctly and I can edit it (and as long as the debugger is running the data remains changed). However, the changes won't propagate back to the database. I don't get any error messages but after I edit the data, save (with the save button on the BindingNavigator toolbar), and end debugging the data in my database remains unchanged. When I use a MessageBox to show how many rows where edited/updated in the ...Show All

  • Windows Forms Tabpage navigation

      I have a tab control with multiple tabpages. While navigating between the tabpages the contents of the page has to be validated. The problem is after left-clicking on the tabpage head the contents of the previously selected tabpage becomes blank. Is there anyway to display the tabpages contents while validating the tabpage. its in WinForms application.  Regards Venkatesaperumal is this an ASP.NET problem or WinForms problem When you say that the tab goes "blank" i assume this is an ASP.NET thing. ...Show All

  • Visual Studio Tools for Office Vista?

    I have been spectacularly unsuccessful in getting an add-in to work in Vista. I tried a managed shared add-in created in VS 2003 or VS 2005, with the ominous "failed to load at startup" message in the COM add-in dialog. Then I tried a VSTO (VS 2005) add-in with the message that the manifest failed to load at startup... All three add-ins just worked fine in XP. How do I get any managed add-in to work in Vista Or is Vista not supported for add-ins Thanks, Patrick .NET add-ins for Office 2007 B2TR will only run under Vista RC1. Later Vista builds will only give you crashes. Patrick ...Show All

  • Visual C# printing from word object and crystal object using PrintDocumnet class ????

    Hello Well I am coding an application using C# for my company which requires multiple printing of Crystal Report Docs & Word Docs, at a specific Printer of the installed Printers, and at a specific tray. The dafinition of the Printer & Tray is happening from the code (constants or predefined values), and there should not be a user interface (A print preview or printer settings box etc.) Well one whould only be amazed of the fact that this is not as easy as it sounds!!... Here go my attempts: Word The word object I am using from the Microsoft.Office.Core can print usinf the .PrintOut() method, but eventhough it seems that it could accept as parameters a large number of weird undocumented objects, I have failed to achieve selecti ...Show All

  • .NET Development How to Identify .NET (CLR) Based Apps?

    @Everybody, Hello, -Sorry for asking question like this, but is there any way for us to know whether a specific app using CLR or not (native) Yes, we can review their System Requirements; but as time goes on, many Windows setups will have .NET Framework installed by default (especially Vista), so, more app will not bundle nor states the requirement for .NET anymore. Can Dependency Walker do this -BTW, are MS Office 2007 are .NET apps I thought like that because Accounting Expresss 2007 requires it. Is the same goes for Vista apps binary I tried to run some from RC2 on WinXP SP2, but got error ".... is not a valid Win32 app..." (even Notepad.exe!). -Hope for detailed replies, thanks. Regards, -Musafir_86. ...Show All

  • Visual Basic Word AddToRecentFiles issues with .Net

    I am upgrading an existing VB6 application to VB .Net. The program opens a file in Word but I do not want it listed in the Recent Files. This work fine in VB6. I have found that the file is added when the Save method is processed even though the Open method contained the following code wdDoc = wdApp.Documents.Open(filename:=TextBox1.Text, AddToRecentFiles:=False) I have checked the Save method and there are no additional parameters or settings to prevent the issue. My environment is: Microsoft Office 2003 Microsoft Development Environment 2003 version 7.1.3068 Microsoft .Net Framework 1.1.4322 SP1 ANy help with this will be most appreciated I've been having the same issue ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Contour offset of a polygon

    Dear All, I am using DirectX to write application and I cannot figure out how to do this: I have a polygon and I want to create inward contours offset of that polygon by giving number of contours that I want and the distance from one contour to another as well. I would highly appreciate if anyone can advise me the algorithm of doing this Regards, LG Dear Blanc Guillaume, Thanks for your advice. I don't want to have a shadow of the polygon but I want to calculate something similiar in this link http://www.cgal.org/Manual/3.2/doc_html/cgal_manual/Straight_skeleton_2/Chapter_main.html in Figure : Offset contours of a sample polygon Please let me know if you know how to draw offs ...Show All

  • Windows Forms Microsoft Forms Application 2003 .NET how to 'read only' view a text file?

    I am new to this development environment, though not new to C++ or the Windows IDE. My task is to develop an ASCII file viewer. I am having difficulty finding an object that allows me to display the contents of an ascii file in 'read only' format in a Window. These files can be very large. I need to be able to scroll through the lines, and have a Mouse Click event tell me which line a user wants to see more information about. Thanks for your assistance. Steve The loadFile() method works great, thanx. How do I convert from a "String" to a "string" or even better a char[] I need to be able to identify the line a user 'clicks' on in the RTB and then expand it in greater ...Show All

  • SQL Server sql 2005 Maintenance Plan Issue

    I successfully created a simple Backup Maintenance Plan under SSMS. But now that the plan is created I need to change the number of days the backups are kept. When I pull up the plan udner SSIS and lok at the tasks I can't locate that option. I couldn't find it under the sql agent either. Anyone know where it is (Or do I need to recreate the plan from scratch ) TIA, barkingdog I was just wondering.... ... did this solution help I am having the same issue on a 64-bit Windows 2003 Server running a 64-bit SQL 2005. ...Show All

  • .NET Development Unable to Bind to Socket on port 80

    Hi, I am trying to create a server and client to send some basic messages back and forth. I started looking at the Socket Class provided by C# but I am unable to bind to port 80 (HTTP). It allows me to bind to other ports, but I get an exception for 80 saying: Only one usage of each socket address (protocol / network address / port) is normally permitted. My browser is able to connect over port 80, I was thinking of using that port for my client/server communication. My question is that I can run different browsers and browser instances at the same time. These browsers are clearly able to bind to port 80 concurrently to download web pages etc..  Why am I unable to bind Thanks in advance.   Dwight ...Show All

  • .NET Development Help with TripleDES and RC2 cryptography.

    I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All

  • Visual Studio Express Editions cd writer supported media types

    i know imapi does not support dvd writers......but i would like to be able to querry supported media types from a writer...... any suggestions on how to do this thanks.. wf what is a driver api lets not make this complicated........their is a simple solution,and when i find it i will post it...untill then ...... any other suggestions wf ...Show All

  • Visual Studio 2008 (Pre-release) PeerChannel PNRP LinkLocal IPv6

    That's a lot of topics for one subject line, but then I have a lot of questions. :) I notice that when I use a net.p2p address with PeerChannel that it uses the Global cloud. If I want to register a mesh as LinkLocal only, is this possible with WCF If not, then it seems a possible solution (depending on the application) would be to publish a global cloud name that only a local subnet would be likely to derive. Not being an IPv6 guru myself, is there something I can use on a given link that every member of the link would agree upon without first having communicated with each other Perhaps a custom resolver would be a better solution Finally, is it possible to use a secure PNRP name with the PeerChannel or does it always prepend &qu ...Show All

  • Visual Studio Report Viewer control

    Where do i get the detail how to using the report viewer control in .net 2.0 How complex the report viewer control Can use it to do a very complex report .. and export to excel. I believe you should be able to bind the ReportViewer to a DataSet and then use the tables in the DataSet to create your report. I don't have VS in front of me right now, so I can't verify that, tho. I tend to stay away from DataSet and DataTable objects and use domain objects, so I'm not 100% sure if that's correct. I'll have to double-check. ...Show All

©2008 Software Development Network