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

Software Development Network >> Andrey Makarov's Q&A profile

Andrey Makarov

Member List

Andreas_M
Avner Kashtan
Mike Hatch
Vega02
Venki HR
ssfftt
IMBogus1
ceedee
MortenBE
Alex Foygel
Uma Lakshmi
Unforg3ttable
Chuck H
JesusReagan
Jim Dunn
repcax
wadnerk
Kithsiri1
applepie
JonM
Only Title

Andrey Makarov's Q&A profile

  • Windows Forms Windows forms C++ Samples

    hi, I understand that C++ under Visual Studio 2005 finally has a very capable RAD GUI builder, so I don’t have to use VB or C# to get the same results and thus in theory do it all with C++. (btw, congrats on getting an ISO language inline with .NET...a much harder job than with proprietary languages I’m certain). However, I cannot find any C++ samples actually built with the Windows Forms rapid development tools. I did down load the calculator app, but it clearly was not built using the tools, so of little use. Would someone advise me please where these C++ sample applications may be found Thanks very much:) thanks!! but..the link doesn't seem to work:( Also, I cannot find on MSDN ...Show All

  • Windows Forms print datagridview cell format

    Hi All I am using the code below from Mike Golds Exercise Tracker articale to print a report from a datagridview which works great the problem i am having is some of the columns in the datagrid are formated one to short date time and three with currency values eg 7/7/2006 & $1.00 that are showing like that in the cells but when i print the grid the formated columns show the date and the time for the date column and 1.0000 for the currency columns.I am hoping someone can show me how to change the code to show the right column format when the grid is printed. Hope someone can help Thanks Barry private void DrawDataGridView( Font RegularFont, Graphics g) { int columnPosition = 0; int rowPosition = 240; Dr ...Show All

  • Smart Device Development Server with multiple Clients

    Hi, i am trying to do a server/client chat. i have already programmed the server using the CSocket library, it is an inherited class in my work....so i have the following sequence on the server: socket create-> socket listen (wait for client connection) -> socket accept. on the client side, i have: socket create -> socket connect. if i use the server and only one client, ok! it works great!!! but, if i try to run another client, i have an error on the server! i understand why! so, i need your help about how can i make the things happen on the server! how can the server listen many different clients on the same port! multithread! fork function! CSocket does not have fork function !!! can you help me ! ...Show All

  • Visual C++ How to get the handle of a window which proc is subclassed

    I try to find the window handle of edit box in calculator. But failed.... I see from spy++, that the window proc of edit box is subclassed, i guess that may be the reason why I can't get the window handle. Because i can get all the other windows in calculator. My code is: [ DllImport ( "user32.dll" )] public static extern int FindWindow( string lpClassName, // class name string lpWindowName // window name ); [ DllImport ( "user32.dll" )] static extern int FindWindowEx( int hwndParent, int hwndChildAfter, string lpszClass, string lpszWindow); public static void Main() { int hwnd=0; int hwndChild=0; int hwndChild1 = 0; ...Show All

  • Visual C++ COM PORTS

    How do I get avaliable Com ports in my computer for example com1 com2 com3 or /dev/ttyS0,/dev/ttyS1 ..... (linux/windows version) Thank you for helping Hello Re: COM PORTS Such questions are outside the scope of this forum - for the scope of the VC Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

  • Smart Device Development Serial problems with visual studio 2005 pocket pc emulator

    hi!! I have to make a program which connects a pocket pc to another device by a serial port. I don't have a real pocket pc yet, so I'm using the visual studio 2005 emulator. The problem is that I cannot make the serial port work properly. I map one serial port from the pc to the emulator, and it seems the emulator can open the port. The other pc serial port is monitored by hyperterminal. Both ports are connected by a null-modem cable. at this point, the problems begin to arise: 1.- I can send characters by the port, but don't receive them at hyperterminal, only strange characters. 2.- The event DataReceived does not work. Here is the code. Im using the class SerialConnector from the main form, jsut to make a test: Does anybody have any i ...Show All

  • Visual Studio Express Editions IE Plugins

    how can i add my IE plugins to my web browser i'm making popit, Do you mean to add the IE plugins to your WebBrowser control Could you tell me what IE plugins you want to add Actually there are so many ways to finish this task. If you can give the specific question, you will get your satisfied answer. Here I have two links to help you with this problem. One is about the WebBrowser Class as follows: http://msdn2.microsoft.com/en-US/library/system.windows.forms.webbrowser(VS.80).aspx The other is some instance on the WebBrowser control and hope that can help you: http://msdn2.microsoft.com/en-us/library/2te2y1x6.aspx ...Show All

  • Visual C# foreach in C#

    Hi, I use C# in ASP.NET . 1. What is "foreach" and how can I use it 2.How can I have a collection of controls that are in a web page and use it bye Matthew Watson wrote: RizwanSharp wrote: foreach is not as good as other loops in its efficiency. That is completely untrue! In fact, the performance of foreach is usually as good as or better than other loops! This is because the compiler understands intimately the mechanics of foreach, and it is therefore often able to apply optimizations that are not possible for "hand rolled" loops. Here's some sample code: private void button1_Click_1( object sender, Ev ...Show All

  • Architecture Replication for Transactional Data as a Solution

    Hi, I have seen situations where replication was used for replicating master/static data from central to various stores. I have a scenario wherein even Transactional data that is being updated at each store, updates not only the store but also the central and in turn the central pushes the updates back to other stores. One of the approaches being considered is using SQL Server Replication. I am of the opinion of doing this from the application instead at the database level. Some of the points which lead me to that are- On insert/update of every records, this replication would need to kick in to achieve a near about real-time scenario. I am not sure if SQL Server would be able to handle that. I potentially see the database crawling in no ...Show All

  • Microsoft ISV Community Center Forums using dll file

    I have created a dll file using VB.net. And I want to use the function of the dll file in VBA. How can I do it Thank you I'm all out of ideas. I know what it's like having it work on one machine but not on another and it's annoying but I have no idea why. Good luck with it. If you get any more clues post again and I'll see if anything comes to mind. ...Show All

  • Visual Studio Trusted Assembly referenace Problem

    So, i have this web project tempalte, that has an extension which will hopefully run and execute some code. however, when i go to create the new site, select my template, i get the error... Error: This template attempted to load an untrusted component 'xxxxxxx, version=xxxxx, cutlrue=netirau, plublickeytoekectn=xxx.........' The assembly xxxxxx is signed and in the GAC, so I am not sure what else to do... Bacially, in that assembly in the gac, i have one class which inherits Iwizard...and has a little bit of code, that i want to execute public class ProjectTemplate : IWizard .... public void ProjectFinishedGenerating(EnvDTE. Project project) { ProjectItem domainSkinFolder; Property prop; do ...Show All

  • .NET Development TCP sniffer

    Hello, Is there any way to look at what is being sent/received over the network by an application I am building a web service and it's client, and I would like to see exactly what they are sending and receiving over the wire with something outside of visual studio. Thanks a lot The development method for such cases depends on you. You can dump all incoming/outgoing data to a log file "or Windows Event Viewer if you like". Not this only, you can use the Microsoft Enterprise Library (v2.0) Logging Block which i admit that it is very practical and helpful. It has a configurable log levels, centralized logging, and easily you can request tracing for web services. You can download i ...Show All

  • Windows Forms DefaultValuesNeeded Event not Firing

    Good morning, I am trying to default vaues for a couple of columns on my grid. I have tried a couple of approaches but cannot seem to get this event to fire. I am letting Visual Studio do the majority of the work so in the designer you have: this.broadcastRightsDataGridView.DefaultValuesNeeded += new System.Windows.Forms.DataGridViewRowEventHandler(this.broadcastRightsDataGridView_DefaultValuesNeeded); And then this: private void broadcastRightsDataGridView_DefaultValuesNeeded( object sender, DataGridViewRowEventArgs e) { MessageBox .Show( "defaultvaluesneeded entered" ); } Yes, I have tried debugger to see if the method gets hit but this is a hold over from my old green screen days. Anyway, the ...Show All

  • SQL Server SQLsvr.exe Process

    There are a few instances of SQL; flavors of sql on a server. Microsoft Embedded SQL Microsoft##SSEE'. & MSDE 2000 SQL. A process of sqlsvr.exe is taking 1.6Gigabyte of RAM. There are several sqlsvr.exe running in process 'task manager. Question- * How do I determine which version of sql is running the sqlsvr.exe process that is consuming this large amount of RAM I need to determine which sql version so I can apply correct Service Packs and Patch. Thanks, Hi, download the sysinternals suite and investigate the threadid (using process explorer and task mamager) which marks the proess you are searching for, have a look at the file access (using the file monitor) to the appropi ...Show All

  • Windows Forms How do I get data from a combobox?

    Hello I have just started to program and I am making a web browser for my school. I have the UI done it looks great for a novice I suppose! Here is the thing though I only want it to be able to browse pages that I designate. So my solution for this was to add a toolstrip with a toolstripcombobox I added in the data: Grades 1-8 Grades 9-12 Now what I am wondering is how to associate a URL with each one: Grades 1-8 = someschool812.edu Grades 9-12 = someschool912.edu I do not want to display the URL in the combobox just the name, anyway to do this -JJ there is a way. you could do this way.... have a collection of url's in an array. when the user selects a value from the combobox, ...Show All

©2008 Software Development Network