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

Software Development Network >> Tomer Glick's Q&A profile

Tomer Glick

Member List

SteveJM
Wil B
Simon Zeltser
ChitownDotNet
CaptainSmudge
MrBogomips
grimdog
Gravy
d2army
Adrian Crawford
Pavan Contractor
Lenoire77
Bartvh
furmangg
sweet_salt
AlucardHellSing
Uwe Reisewitz
Itzik Katzav
Charltonn
jca_john
Only Title

Tomer Glick's Q&A profile

  • Visual C# Copy/move files

    ------------------------------------------------------------------------------ Copy Method: public static void CopyDir2Dir(string sourceDir, string desDir, string searchPattern) { DirectoryInfo dirInfo = new DirectoryInfo(sourceDir); foreach (FileInfo file in dirInfo.GetFiles(searchPattern)) { file.CopyTo(desDir + "\\" + file.Name); } } Usage: CopyDir2Dir(@"C:\dir1", @"C:\dir2", "*.dll"); this will copy all dlls from dir1 to dir2. Stefan Prodan ------------------------------------------------------------------ Hi, I got this code above from Stefan Prodan, but I can't copy/move files from "Temporary Internet Files", but I can for other fold ...Show All

  • SQL Server Mirroring for certain tables from the database in sql 2005

    Can I know is it possible using database mirroring for only certain tables from the database, not for the whole database in sql server 2005. Hopefully able to get any assistance here. Thx alot. Best Regards, Hans Hi Jerry, sorry for bothering you again. Can I ask some questions regarding the connection for the database mirroring. Actually I did post a thread here and hope can get any assistance from you. If can, I prefer to share/discuss the problem for solving this scenario which is the Error 1418 through messenger. Hope to hear from you soon. Thanx a lot and have a nice day, Jerry. Best Regards, Hans ...Show All

  • Visual Basic Can anyone recreate this small bug?

    New windows form Add a Menustrip and a couple of items Add a Toolstrip and a dropdown button with a couple of items Set the shortcut property of a menu item to CTRL + SHIFT + F9 Set the shortcut property of a different menu item to, e.g., CTRL + F9 Set the shortcut property of a toolstrip dropdownmenu item to CTRL + SHIFT + F9 Set the shortcut property of a different toolstrip dropdownmenu item to, e.g., CTRL + F9 Create two simple subs and have one handle both the C+S+F9 click events and the other handle the C+F9 click events Run the form. On my install, CTRL + F9 works, but C+S+F9 does not. However, if you remove the shortcut key from one of the menu items (so there is only one C+S+F9 shortcut on the form) t ...Show All

  • Visual C# Database in VS.NET 2005.

    hello, I am new to VS.NET 2005 and C # programming. I have been searching around to figure out how to work with database. in particular MS access. However almost all the articals i ran into talks about 1) dataset 2)dataadapter 3)datasource and how to manually declare them and deal with them.   Now a few articals i found in VS.NET 2005  tell me to get started by clicking on the data  -> showdatasource-> add new datasource etc. after that go to toolbox and add bindingdatasource object on form, but it gets all confusing.  My current problem is.. combobox. I am displaying a certain colomn of a table and returning certain value when selection is made using value member. However I need to access ...Show All

  • Software Development for Windows Vista Application Opens By Itelf Fine, But When Opened With Process it fails to load components

    Hey Guys I am trying to find out why this happens. If I try to open an application written in vb6(yah I know) under vista using a .net component using Process.Start it fails to load some components properly. But When I open it from explorer it opens up just fine and does what it is supposed to do. Any reason/explaination of why this may happen. Using Windows Vista Enterprise Edition. I am thinking it has something todo with security but honestly I don't know. Thanks for any help offered. The C# app is using 2.0 plus it is not the one creating the activex components that is the vb6. Which is outputting that error for me on the Process.Start but not on the explorer run. ...Show All

  • Smart Device Development How to use Dictionary<Control, string>?

    I find Dictionary< Control , string > can be used in .net compact framwork 2.0 in MSDN, but when I use it in VS2005, it can't find the Class ,and There is no System.Collections.Generic in directory "C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE",How can I use it Yes, it can be used on NETCF V2 but you're on NETCF V1 project as path indicates. If you want to use V2 features you would need to create V2 project type. ...Show All

  • .NET Development Updating MSAccess DB from Excel Using Dataset

    Hi, Iam trying to update a MS Access DB from an Excel file using Dataset but whenever the program reaches the DataAdapter update method it craches and gives me an err msg, so what is the problem iam so confused Imports System.Data Imports System.Data.OleDb Dim xlsFile As String = Application.StartupPath & "/Test.xls" Dim mdbFile As String = Application.StartupPath & "/Test.mdb" Dim xlsStr As String = ("provider=Microsoft.Jet.OLEDB.4.0; data source='" & _ xlsFile & " '; " & "Extended Properties=Excel 8.0;") Dim mdbStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & mdb ...Show All

  • Windows Forms Bind datagridview to generic list?

    Hello, I want to create a gridview that is bound to the object where I have the insert,update,delete and select methods. but I havent find a way to do it. public class Participante { #region Constructor public Participante() { this ._objCiudad = new Ciudad (); } #endregion #region Declaracion de variables private string _strIdentificacion; private string _strNombre; private string _strdireccion; private string _strTelefono; private string _strCelular; private string _strEmail; private Ciudad _objCiudad; private string _strDireccionEnvio; private string _strTrato; private int _idCiudad; private int _idDepartamento; ...Show All

  • Visual Studio Team System VSSConvertor - Migrating from VSS 6 to TFS

    Please forgive my ignorance. And also, forgive me if this question was asked before. I'm playing with TFS and running test migrations from VSS 6 to TFS. My tests have all been "successful", I am just now trying to interpreate what some of the errors/warnings found in the migration report mean for our development teams and how to mitigate any potential issues. Specifically, I am worried about: Data loss due to Share/Branch Sharing is not supported in Team Foundation Source Control. Shared files are migrated by copying the version of the file at the time sharing began to the destination folder. From then on, changes made to the shared file are replicated to both copies. Sharing is a pre-condition of branching. The migration ...Show All

  • .NET Development Grabbing text from website

    So im familliar with stream reader and am able to use the .readtoend I was just wondering if there is anyway I could get a specific line of text to display in my paragraph. I was thinking about grabbing all of it and only showing whats between word 123 and word 12345 Is this possible The text shows up in both source and on the page. Any ideas Here is a simple way......... public static string FindWebSiteText(Uri uri, int start, int end) { WebRequest request = WebRequest.CreateDefault(uri); using (Stream response = request.GetResponse().GetResponseStream()) { StreamReader reader = new StreamReader(response); string siteHtml = reader.ReadToEnd(); siteHtml = siteHtml.Remove(end); siteHtml = si ...Show All

  • .NET Development Socket transfer of TIF results in unreadable TIF file.

    Hi everyone, bare with me, this is my first post here. Currently, we have a program that connects to a server and retrieves three types of files (TXT, CSV, and TIF). The program now needs to be in VB .NET without changing the server code. In my code below, I can successfully receive textual files (TXT and CSV) files byte-for-byte without a problem. The resulting files work perfectly too. However, when I try to retrieve the TIF, my program outputs the correct number of bytes but the file is corrupt. I was wondering if anyone can point me in the correct direction. <CODE> Public Function readFile(ByVal strBuff As String, ByVal fileSize As Int32) As String Dim returnData As String = "" 'Holds returned data from s ...Show All

  • SQL Server Report Manager error

    When I try to start report manager, I get the following error message.  What do I need to do Server Error in '/Reports' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Microsoft.ReportingServices.UI.GlobalApp" %> Source File: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager\global.asax    Line: 1 Versio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rendering terrain

    Anyone know of any good resources on terrain generation, preferably in c#, or some information on best practices and algorithms craigory has create a heightmap terrain component, check it out. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=694432&SiteID=1 ...Show All

  • Visual Studio Express Editions How to show all TODO's ?

    When coding in Visual Basic Script, I used to put my "todo list" at the top of the code, as comments, is this still the way to go for VB, or is there a more handy way (using Visual Basic 2005 express) When I open the "Task List -> Comments" not all TODO's from the project are shown. It seems that the IDE does only scan the open files. What do I have to do ...Show All

  • Visual C++ use templated base class declared in 1 C++/CLI assembly in another C++/CLI assembly?

    Hi, In C++/CLI, is it possible to take a template base class declared and defined in one assembly and use it as a base class in another assembly If so, how IOW: assemblyA: template < typename T > public ref class Wrapper : PtrWrapper< T > { protected: Wrapper( T* pObj ) : PtrWrapper<T>( pObj ) { // do something } ~Wrapper( void ) {} }; assemblyB: public ref class Batch : public CoreAPI::Wrapper< cBatch > { }; where T is an UNmanaged type (and cBatch is also). Both assemblies are DLLs, and both are CPP/CLI, if that matters. Wrapper is being successfully used as a base for many classes in AssemblyA. I can't get this to work. If I just have a reference in B to A, ...Show All

©2008 Software Development Network