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

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

Anton__

Member List

Rabid Pinata
andras99
Abdul Basith
Voltafil
GusBraga
Divya Bhasin
Wil_Reed
lcj
@lex(is)
lucerias
zwp
rahoward
nemo kao
JRuggs
cb3431
Renaud Martinon
Amar-001
filip_scm
pravej
Juraj Oprsal
Only Title

Anton__'s Q&A profile

  • Microsoft ISV Community Center Forums Can i embed MS Access database inside Visio and query it using VBA

    Hi , Iam Deepu. Is it possible to embed an MS access database file in a Visio drawing and when i click on a shape, query and display the information related to the shape from the database in a msgbox or so My requirement is that i do not want an additional file to be carried along with the visio document. That is why i wanted to embed it in the same drawing. Welcoming all your suggestions. Thanks. Deepu Hello Deepu, I doubt very much you will be able to embed a database into a visio document, but that doesn't mean you cannot embed the data. For example you could have a module that contains all the data you want to search as an array or as a collection. Its not a database in the classic s ...Show All

  • Visual Studio Creating dynamic reports

    Hi all, I’m using Report Viewer and I’m thinking about create dynamic reports. I want to know if I can modify the report design at runtime. I need to report objects that have optional properties and the number of columns in the report must change. Best regards, I have implemented this as per the article on www.gotreportviewer.com , but I need to subscribe to the report as well which means this solution is not applicable - the scheduled report is created it won't contain the dynamically created columns. Does anyone know of an alternative way of doing this The only other option I have come up with is to create a report for each table (something I don't want to do as I will eventually have hundreds of individual reports!) ...Show All

  • .NET Development Returning DataTables from Web Services in ASP.NET 2.0

    I'm currently using .NET Framework 2.0 with WSE 3.0. I've read many articles that DataTables are now serializable and can be passed via web services. However when I have a datatable as my return type of a web method my client app (windows form) shows the return type as "XXXResponseXXXResult" where XXX is the name of my web method. I've only managed to find one possible solution ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=331319&SiteId=1 ) to this problem but having to add it to the machine.config file is not really a option when installing it on client machines. Does anyone know of a nicer way to have client apps recognise datatable as a return type If not does anyone know a way to add a schema importer extensi ...Show All

  • .NET Development Access to remote folder

    Hi, I have an app which must read, change and save (update) files on remote PC. I have a special user/password to access the remote computer. Is there any way to loging to remote computer from inside the app, do the job and then log off. App works fine if I logging to remote PC before starting nut I don't like this. I'd like to have evrething hidden from enduser. Thanks Oleg if its on the local network then yes, otherwise if its on the internet somewhere, then you may need to connect via FTP using the FTP classes in .NET 2.0 or some other way, perhaps by webservice or something. To access to the remote computer on a local network, you need to set up the credentials (username/passw ...Show All

  • Windows Forms Strong-typed Datagridviewrow.count=900 but only 2 accessible (worked fine afterward)

    I have got this problem, Please give me advice on this Thanks,   MessageBox .Show ( "total record available in gridview" + drawingsDataGridView.Rows.Count.ToString());  // It shows 938 (records) correct but I can only retrieve the first 2 row and the rest is 'index out of range'   DataGridViewRow dg = drawingsDataGridView.Rows[2]; //unaccessible   I tried to trace it by writing a label in the cellEnter Event. When it was first initialized, it shows 2 records only (cellEnter event) eventhough actually it has 900 rows Then the next time any cell got clicked, it shows the correct number of rows. What coould be causing this Help guys       HI, wspencers ...Show All

  • Visual Basic Write data in VB.NET to Access using SQL

    Okay, I have an Administrator page that is able to create new users. I have a simple adduserform that has a TabControl added in it with a tab for General Info and User Info. Those have quite a few texboxes for input and outside of the TabControl are 3 buttons that are Save, Clear, and Exit. What I want to do is have the Save write the data to my small database that I have for users. If you want to see an example of my screen you can see it here.... http://redbearcustoms.no-ip.info/VB/adduserform.html ahmedilyas wrote: Dim theOleDbConnection as new OleDbConnection(" ConnectionStringHere ") Dim theOleDbCommand as new OleDbCommand("INSERT INTO [tableName] ( field ...Show All

  • Visual C++ "Stack Overflow message"

    Hi, I was trying to write a simple hello world program using wxwidgets. The issue I faced was when using Visual studio 6.0 my application crashes by giving "Stack Overflow" message. If I run my same application in VC++.NET 2003 it works fine. 1. Why does this happen. 2. Is there a way I can increase the stack size in VC6.0 Code is as follows: #include "wx/wx.h" #include "wx/glcanvas.h" #ifndef WIN32 #include <unistd.h> #endif class MyApp: public wxApp { virtual bool OnInit(); }; IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { wxFrame *frame = new wxFrame((wxFrame *)NULL, -1, "Hello GL World", wxPoint(50,50), wxSize(450,340) ); wxGLCanvas * MyGLCanvas = new wxGLCanvas(frame, -1 ...Show All

  • Windows Forms DataGridView with a RichTextBox Column

    Can anyone point me in the right direction for declaring a RichTextBox column within a DataGridView... I know there are a few examples revolving around the Calander control... but... these examples all revolve around editable controls... the displayed control remains a TextBox until it is clicked... which is no good for me... as I want to display each cell as a RichTextBox. I assume my only option is to derive from DataGridViewCell and override Paint... but my c# is little weak and I'm struggling. In addition, I may be using a hammer to crack a nut... as all I want to do is to display text in a column which may have some words underlined... from my limited understanding of .net controls... I can only do partial underline with a R ...Show All

  • Visual Basic Small questions (vb2005)

    Can someone tell me how to do the following: Minimize all application apart from my own Hide the desktop icons Hide the start bar. Its not for a virus. I am trying to create a screen locker program so that there is just the desktop wall paper and the password promopt. If you have read my other post about my question on key hooking it was make sense. But then again you may still think of it as a virus. I have already tried looking on sites like www.pscode.com but the only thing that comes close is someone elses dll, but that is in compiled format not source code. ...Show All

  • .NET Development ItemDataBound

    Hello, everyone, I am working with the VSTS 2005 and I am trying to hide some fields (cust_id) from displaying in the grid view. The VS 2003 had a ItemDataBound in the namespace UI.WebControl. Is it been replaced in 2005 Can someone point me to the right direction Thanks, Antonio Why don't you just hide the column this is in the case you are not using the automatic generation for the columns. In the case of automatic generation the event you are looking for, is the "RowDataBound" event. ...Show All

  • Commerce Server Commerce Server 2007 Catalog

    Hi, I am tying to import into catalog manager Polish and Russian descriptions. I have successfully imported other languages such as Spanish, French, German and Italian but the characters in Polish and Russian do not take for some reason. The descriptions in Polish and Russian do display correctly in the XML that I feed into catalog manager as I can open it up in my XML editor and see the correct character descriptions in Polish and German. However in catalog manager I get “ ” for each character it does not recognise in the character string description. Does anyone know if I need a character plug-in for catalog manager or is there something else I am missing Thanks Dom Dom, Is the ...Show All

  • .NET Development Interop layer throws System Exception (cast) when accessing unmanaged COM code

    I would appreciate help/comments on the following... I am trying to access a COM component written in Fujitsu NetCOBOL from C#. I have spent many hours (days...) reading the docs, trying various combinations, and looking at the samples but my attempts are failing miserably. The COM .dll is called "AVSCOMSVR" and the embedded TypeLib has been picked up and converted to an Interop Assembly by VS 2005. Here's a picture of the generated interfaces and Classes: http://homepages.ihug.co.nz/~dashwood/dashwood/AVSProject2.jpg I find this a little puzzling... VS2005 seems to have duplicated the interfaces, some above the Class entry and some subordinate to it, but that may be OK and just reflect my limited understandin ...Show All

  • SQL Server Issues With SQL 2005 Encryption

    Are there any pitfalls i should look out for when using the encryption in SQL 2005 That is really strange. The key ring is session based, may it be possible that you are using 2 different sessions to open the key and to alter it If not, I will appreciate if you can give us some more information to try to repro this problem (what client you are using, the script you are trying to run, etc.) BTW. You can run SELECT * FROM sys.openkeys to see the keys opened in the key ring. Thanks a lot, -Raul Garcia SDE/T SQL Server Engine ...Show All

  • Visual Basic LEFT string function

    This is how you would use the LEFT function in VB6 ... str1=LEFT("This is a typical string",4) Can you still use the LEFT string function in Visual Basic 2005 I can't seem to get it to work. Hi, Terry,   MS.VB is essentially already imported, as is the System.Windows.Forms namespace.  Consequently, adding an import won't help you here -- they're just two imported namespaces which happen to have conflicting members (as might happen with any arbitrary imported namespaces).  However, you can set up an alias like: Imports VB = Microsoft.VisualBasic and then the call would be VB.Left, which is a lot easier to type.  (You can substitute whatever you like for "VB" ...Show All

  • Windows Forms Looking for a .NET PDF viewer control for ClickOnce

    I am looking for a PDF viewer control to deploy with our ClickOnce-deployed application. I need to avoid a prerequisite download (i.e. Adobe Reader or an OCX install--isolated mode OCX does not work for me, see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1199525&SiteID=1 ). Hosting the PDF in a web browser will also not work, because of the reader prerequisite. Are there any .NET-native, standalone, PDF display controls I have seen the controls list on windowsforms.net--I'm looking for a recommendation from somebody who's had success with one of them in the past, or is currently using one. Thanks, Paul Whitaker I believe Pegasus Imaging has a control that does this. http: ...Show All

©2008 Software Development Network