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

Software Development Network >> Vladimir Chtepa's Q&A profile

Vladimir Chtepa

Member List

ashwin_k_s
Eissing
Nimce
waheyluggage
Mark Goldstein
JGP
Elfar Alfreðsson - MCAD
GetCode
Bander ALSHARFI
ramseys
Amir Goodarzi
Yorker
one2escape
Lita123
gbvdh
vhhughes
jtashley
AMEgo
abc0918
briggins5
Only Title

Vladimir Chtepa's Q&A profile

  • Windows Forms Staging QA and Production Release for Click Once -- One Solution

    Here is a paste of my word doc -- Note the images did not go through Problem Out of the box ClickOnce deployed applications do not support the concept of staging across various environments from both a server side as well as on the client desktop. This document will demonstrate the following: · How to setup your ClickOnce projects to have the ability to deploy across development, qa, and production environments · Allow a given client the ability to have all 3 or more environment builds on the same machine (Currently each install of a new environment will overwrite the previous install) · To update the settings in a settings.settings/app.config file based on the environment you wish to dep ...Show All

  • Visual C# extracting data from comma delimited string

    hi, im using c#, have a comma delimited string and i wish to split it. string example is: john smith, freddy, mark/,jones, john i don't wish to split where a comma is backslashed. any ideas thanks. How about something like this...: string values = "TechRepublic.com, CNET.com, News.com, Builder.com, john/, smith, GameSpot.com" ; string pattern = " \\s*,\\s* " ; System.Text.RegularExpressions. Regex r = new Regex (pattern); string [] sites = r.Split(values); Andrej ...Show All

  • SQL Server Definition of 'Persistent Data'

    What is the definition of 'Persistent Data' as related to the definition of a RDBMS thx, Kat Persistent Data is data that stays around after the application has terminated. In the case of an RDBMS, it would refer to data which had been committed to tables. It would not refer to items stored in temporary tables or units of work that the server accumulated while processing a query -- work tables. It would also not refer to variables defined and used during processing. ...Show All

  • Visual C# Automatically do something after X amount of days?

    Can I use the Settings to automatically do a method after a certain number of days For example: If a check box is checked, after a certain number of days, it deletes a file Thanks, Settings .Default.LastRun = DateTime .Now.DayOfYear; if (cbEmpty.Checked == true ) { if ( Settings .Default.LastRun + Convert .ToInt32(UDTemp.Value) == DateTime .Now.DayOfYear) { EmptyTemp(); } } if (cbCookies.Checked == true ) { if ( Settings .Default.LastRun + Convert .ToInt32(UDCookies.Value) == DateTime .Now.DayOfYear) { ClearCookies(); } } Would this work *UD... is a numeric up down control ...Show All

  • .NET Development Interop question

    Hi, I created a com visible class in c# 2.0. I'm trying to instantiate it from javascript from 2 different browsers and everything works fine. Now I want the 2 browsers to share the same instance as one of the browsers will invoke some methods and the other will listen to some events. The problem is how can I make the class a singleton on the machine Is it possible or the IEs willl always have multiple copies of CLR running. Can I build the class in Vb 6 for example or Atl to achive this requirement If yes what are the steps This is the pseudo-code Browser1 <script language=jscript> var obj = new ActiveXObject("Bridge.Communicator"); obj.CallMethod("test"); </script> Browser2 <Script ...Show All

  • Visual Basic Drag & Drop icons from Desktop onto control

    Hi all, I have written a menu app which I have to browse for files, to tell it the file name / path. I would like to Drag & Drop icons onto the form / control from the windows desktop. I have a basic understanding on how to drag/drop from 1 control to another (both on the form ofcourse), but when i try to drag an item from the desktop the mouse pointer changes to a circle with a line through it. I am assuming that Vb only lets you drag items from the form onto iteself. Is this correct Code sample would be appreciated. Thanks in advance. Ok great thanks. That worked a treat. But is there anyway to "package" this file inside my project and use it internally rather than externally so that I don't have ...Show All

  • Visual Studio 2008 (Pre-release) TOP/LIMIT Support for LINQ?

    Is there (or will there be) any support for limiting a result Something like var pagedData = from ds in datasource rows 50 to 100 select ds; Regards, Daniel You have at least 3 options for profiling. 1) Use SQL Profiler with SQL Server. 2) The datacontext exposes a .Log method which attaches to a stream and outputs the generated queries to that stream. You can easily attach it to the console window using the following: db.Log = Console.Out 3) The MAY CTP includes a visualizer which you can use during debugging to examine the LINQ to SQL generated query. It also allows you to modify the query and test fetching the results. To check this, put a breakpoint on your foreach and hov ...Show All

  • Visual C# Are there excellent steps for a new learner to launch on c#?

    as a new learner, to set about c# will with much mood.So many class and meths will enlarge my head. HI, ahmedilyas : An example of a Messenger toast is the message that appears on a user's desktop when one of the user's contacts signs in. Another example of Messenger toasts is the messages displayed when a user receives an alert from the .NET Alerts service. Could you please tell me how to catch the screens If i clcik the links in the screen and how to respond this event. Thanks in advance. Are there class files can be find in the Visual stadio ...Show All

  • .NET Development How do I Set Version number for ASP.net custom control

      Hi I've developed a Custom Control in ASP.Net 2.0 It's great in everyway but the version number.  I can't figure out how to change/set it.  It's currently verion 0.0.0.0. I search MSDN and it only gave me help for C# and C++ ASP.net apps.  There's more than one way to do it, but NONE seem to work with Visual Basic, the langauge I developed the Control in. C# , C++ and J# have /V as an optional parameter for the complier to set a version, the VB complier doesn't Can anyone help   I don't care where or how I set it, just that I can. Because custom ASP controls we've built in C# have got a version but not the custom ASP controls in VB!   Thanks ...Show All

  • Smart Device Development DCOM source code?

    Hi, we are trying to find a way to access a bag printing device in our plant that uses the OPC standard. We want to change the data that is being printed. The OPC Standard was created (with the help of Microsoft) to use DCOM to allow Windows applications to communicate with such devices. However, due to various project constraints, we are forced to use an AS/400 application for the communication to the printer instead. Therefore, it has been suggested to me that I try to determine the data string (preamble, data, and postamble) that is actually being sent in the "Windows application to printing device" scenario so that we can replicate this in AS/400 code. We would then send the data string via the AS/400 application to the I ...Show All

  • Visual Studio 2008 (Pre-release) Unified way to add and remove child element

    Hello, I would like to ask couple of questions: 1) Is there a unified way to add element as a child to a parent Currently I am achieving it like this, but not sure it this is a right way to do it: IAddChild parent = LogicalTreeHelper.GetParent(child) as IAddChild; if (parent != null) parent.AddChild(child); 2) Is there a unified way to remove element from its parent children collection My current method is ugly enough to look for a better one :) DependencyObject parent = LogicalTreeHelper.GetParent(child); if (parent is ContentControl) ((ContentControl)parent).Content = null; if (parent is ItemsControl) ((ItemsControl)parent).Items.Remove(child); if (parent is Panel) ((Panel)parent).Child ...Show All

  • Visual Studio Express Editions Error Trying to compile MediaShare

    im having a problem with compiling the MediaShare SDK that i downloaded and didnt touch a single file, im new to Visual C++ and windows programming, i can do C++ in linux but is like brain surgery in windows for me.. ill give the build log in this post for the communicationframework and... media share... anyone that could help me look over it and tell me what changes to make... thank you :D... Communication Framework: Command Lines Creating temporary file "c:\Documents and Settings\RuneSpy\My Documents\MSDN\Media Share Starter Kit\Source\CommunicationFramework\Debug\RSP00000134802716.rsp" with contents [ /outputresource:"..\debug\CommunicationFramework.dll;#2" /manifest ".\Debug\CommunicationFram ...Show All

  • Visual Studio An unknown error occured while copying files to your temporary folder. Setup will now exit.

    VB Studio 2005 Pro I have made sure my Temp folder is empty and good to go....writeable, etc etc. I have 3 PCs and on the 2 main ones I get this error no matter what I try while attempting to install from a CD. On the 3rd PC which I do not use (my son's) it will open up and install. I cannot figure out the problem. I tried movnig all files to a folder on the HD and installing from there, but no use. There has to be a fix for this. Help 1. They are 2. I have 66GB free space 3. Admin privaledges on the account I am installing from purchased CDs onto a PC. I am the Admin of this PC and the only one who uses it. I am using Windows XP with both service packs an ...Show All

  • Visual Basic list of deprecated methods and theur vb2005 equivalent

    Does anyone know a website or webpage wherein they supply a list of visual basic 6 methods, functions, and such, and provide the visual basic 2005 equivalents I grew tired of trying to upgrade the functions I need using the VB6 upgrader tool. I can't even find out the MenuCreate() equivalent in VB2005. Thanks a heap. The easist way to look at a referenced namespace, class, or method is using the object browser....Once you have made you project level reference by going to "Project"... "Add Reference" when you open the object browser and view All Components you should see the referenced dll namespace on the left side of the browser...when you select it the browser will show you all acces ...Show All

  • SQL Server Check FTP file date

    First I want to thank everyone that has given help to me and everyone else with the issues involving migrating to 2005... Thanks alot.. Now for the problem. I am looking for (an not finding anything of help) to check the date of a file on an ftp server. A file always exists but once a month the day changes. I would just download the file and check it locally but the files are several hundred megs in size so that would be inefficient. So is there anyway to do that On another note, can anyone point me to a good resource for learning the scripting language that SSIS uses the ftp connection (which does all the work for the FtpTask) is written in c++ using winInet call. the managed System.Net ...Show All

©2008 Software Development Network