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

Software Development Network >> Tim C.'s Q&A profile

Tim C.

Member List

BJohansson
Barguast
R.Tutus
twaltz
incendy
rako77
Abhilash CR
Varunice
Daniel Shevchenko
Giancarlo T.
mandrijasevic
dtlinker
NetMage
Christian Sparre
glcjr
jaimlin
AlexWerner
xuyca
Keith Newton
abuck
Only Title

Tim C.'s Q&A profile

  • Visual Studio Any Idea On Crystal Report Connection???

    Hi All, I Changed My Server from SQL 2000 To SQL 2005 Server. I Also change my ServerName and Database name... When My applications Running From SQL 2000 Server i have not set ConnectionString on my Page. But when I migrate Server From 2000 to 2005 and also change servername and databasename It ask for ConnectionInfo...... You can find my code on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=879486&SiteID=1 First I Try to setup following code for Connection Info rpt.DataSourceConnections[0].SetConnection( "Server1" , "MYDB1" , "sa" , "db" ); My Report Data will not refreshed.... Then I tried following code. rpt.SetDatabaseLogon( "sa" , "xys06" , "Server2" , "MyDB2" ); Then i will get Mis ...Show All

  • Windows Forms DataGridViewCell value is updating but new value is not displayed on screen

    My first post here - hello :) I have a DataGridView with one particular cell that allows the user to adjust the day of the current week by simply focusing on that cell and scrolling the mouse wheel up and down. The code works no problem, the value is indeed updated but it does not show the new value until I change focus to another cell. Well after many hours of posting in various message boards I found a solution to part of the problem. Invalidate() methods did not work, changing the cell.Value didn't, and changing the underlying datasource only worked if the row was already saved to the database. I found the .RefreshEdit() method of the DataGridView and that solved the refresh problem with a single line: this.dataGridView1.Refre ...Show All

  • Visual C++ regex implementation

    I can't seem to get regular expressions to work in visual c++ 2005 express edition. I'm parsing a .h file for #define, and the below code errors: System::Text::RegularExpressions::Regex^ blockDefine = gcnew System::Text::RegularExpressions::Regex("define\bEE_BLOCK_(\w*)\b"); System::Windows::Forms::MessageBox::Show(blockDefine->IsMatch("#define EE_BLOCK_VERSION 0").ToString()); The error is: .\fileio.cpp(23) : warning C4129: 'w' : unrecognized character escape sequence I don't understand why this isn't working. Ovbiously it's trying to escape the \w and it doesn't like that...but how do I fix it The treatment of metacharacters is documented in MSDN under http://msdn2.mi ...Show All

  • SQL Server package and file location dependencies on deployment

    My parent package calls packages stored in the file system. While developing, I would like to call packages in the project bin directory. In production, I would like to call packages in a different development. Is this possible I can change the package connection string with an expression that refers to user variables PackageLocation1 or PackageLocation2. I would like to do this automatically. Is this something that should be done at deployment time Or is there a run time value that I can check and conditionally use PackageLocation1 or PackageLocation2 Development and deployment is done on the same server, so the same enivronment variable value would be used in an indirect configuration. Same thing applies to a file configuration. ...Show All

  • Windows Forms How do I reduce flickering for a DataGridView when AutoSizeColumnsMode is Fill?

    When the DataGridView.AutoSizeColumnsMode is set to Fill the contents of the grid flickers when the grid is resized. Is there any way to reduce or remove the flickering Solved it by setting the protected DubbleBuffered property to true in a class inheriting from DataGridView. Is this the intended way Why not make the property public if it is needed to make the grid redraw itself without major flickering ...Show All

  • SQL Server File System Task - Move File with Dynamic Destination Path

    I am having an issue with the File System Task. I was wondering if there is a way to 'Move File' with the File System Task inside of a For Each Loop container but to dynamically set the Destination path variable. Currently, this is what I have: FileDestinationPath variable - set to C:\TestFiles FileSourcePath variable - set to C:\TestFiles FileNameAndLocation variable - set to blank For Each Loop Container – Iterates through a folder C:\TestFiles that has .txt files in it with dates in the file name. Ex: Test_09142006.txt. Sets the file path (fully qualified) to the Variable Mapping FileNameAndLocation. Script Task (within For Each Loop, first step) – Sets the FileDestinationPath to the correct dated fol ...Show All

  • SQL Server Linked Servers Error Microsoft SQL Server, Error: 7411

    1. Replication Transactional between two servers -- SQL Server 2005 as Distributors and Subscribers ---SQL Server 2000 as Publishers 2. Linked Servers errors: " Server (Publication Server) is not configured for DATA ACCESS. (Microsoft SQL Server, Error: 7411)" Did anyone familiar with this problem Thankssss TJ_1 I configured in UI Microsoft SQL Server Management Studio and Enterprise Manager. 1. The initial snapshoot copy the publications database completed with no errors. 2. The Log Reader Agent is running in SQL Server 2005 3. There are two Linked Servers: LinkA is working. Link B is not working and prompt error of "Link Servers Error Microsoft SQL Server, Error: 7411 ...Show All

  • Visual Studio Duplicating labels

    I’m currenty defining an automated build system for our development. Using VSS v8.0, I’d like our developers to use a label called "Release", whenever something is checked in AND ready for release. My daily automated build and test system should then be able to get all the files with this label "Release". This works fine. The next thing I would like to do is set a new label based on all files/projects that have this label "Release". This seems to be impossible in VSS. Apparently I can only replace the label "Release" with the new label. "Release" however, should continue to be present and should be changeable in the future. My problem is that I want to keep track of the exact file ...Show All

  • Windows Forms access application settings from code

    Hi , i stored my connection in application settings i.e. project > properties> settings tab. Now i need to access the connection string from code any help is appreciated, red Hi,red60man Assume you have a variable named "MyConn" in the settings, then access it in code by: Properties. Settings .Default.myConn; For more information, see This . Hope it helps. Best Regards. Ye ...Show All

  • Visual Studio 2008 (Pre-release) How-to skin application?

    Hello, I am looking into the subject and have to say, that I feel a bit disoriented... :( My goal is to build the main application and allow our partners to develop skins that can be distributed/sold to product users. Obviously, we would like to make it hack-proof, so that "outsiders" cannot modify skins/develop new skins. Solution that comes to mind would be to have signed assemblies that would contain ResourceDictionaries (with optional related code), so that application could load those assemblies at run-time, validate them, and apply templates. I would guess that it is something easy to do, but I have unfortunate feeling that I am becoming almost sure that this scenario is not supported by WPF (I refuse t ...Show All

  • Visual Studio VS 2003 devenv.exe as a scheduled task hangs during clean step after vs2005 install

    Ok, Hope this is the right place. We have a large solution 70+ projects and we automate the build process via scheduled tasks. Now several machines (all dual core), after having vs.net 2005 installed, fail to complete this process. I've narrowed it down to the clean step. To reproduce this I have scheduled a batch file as a different user (we use to build) and all it does is clean. When I run the task, devenv.exe hangs and spins one cpu to 100% at the end when it should exit. NOTE: This is not the 2005 version of devenv that runs, rather 2k3. and test is a dir containing the sln and projects. Here are the contents of the batch file. ---------------------- CALL "C:\Program Files\Microsoft Visual Studio .NE ...Show All

  • Software Development for Windows Vista Can't register DirectShow filter

    Hi I've just created a DirectShow filter, with every required method according to the Platform SDK help, but when I try to register my DLL with regasm (since regsvr32 does not work), I have a problem. I'm told the registration worked, but when lookng in GraphEdit, I can't find my filter. And when I generate a .reg file, I can't even find any new entry in HKEY_CLASSESROOT\CLSID. I only get things put in HKEY_CLASSESROOT\Record. I don't get it, since I've done everything about registration according to what I read in the help file, on the web, and etc... Thank you very much for any help... Emeric But the problem is I have those entry points, and regsvr32 tells me it can't find them. I've read this is because ...Show All

  • Visual C++ Missing icons on MDI child windows

    Having written code to create MDI master and child windows using Win32 API, I have discovered that when using the application under the Windows XP theme, icons assigned to the MDI child only appear when the child is maximized. When the child is minimized or normalized, a white space appears where the icon should be. The icon is assigned using - SetClassLong(widgets[1].hwnd, GCL_HICON, (LONG)geeicon); The icons appear using the same code using Windows 2000 and Windows XP, classic theme. Also if you start the application using classic theme and then change to XP theme the icons stay attached to the child windows. It is only if you start the appication in Windows XP theme that the icons are missing. Any ideas ...Show All

  • SQL Server RS 2005 and Custom Code

    Hi there I've added quite a bit of custom code to my RS 2003 reports. However, I am having no joy with duplicating the process in 2005. My functions are created (as public functions) and as long as I don't try to reference them in the report everything runs smoothly. However, when I do try to reference a function in an expression using the syntax code.MyFunction (), it does not recognise the function. Many Thanks Hi Teo Thanks for the response. Yes. After much frustration and eventually simply running the "faulty" code I have discovered that RS will simply not pick up Code.<Insert Function Name Here> , and it will show it as being incorrect. Simly ignore and life is a scream ...Show All

  • Visual Studio Express Editions WebPage Link

    Hey all, Can anyone lead me to publications on how to add a single webpage link by a simple click of a button. Thanks so much. WildWylie Very Easy, depending upon whether you want it opened in default browser or a browser control on the form. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Process.Start(" http://www.microsoft.com ") '<-- Will open the page in default web browser Me.WebBrowser1.Url = New Uri(" http://www.microsoft.com ") '<-- will open in a webbrowser control on form End Sub End Class ...Show All

©2008 Software Development Network