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

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

manick312938

Member List

ashish-rocks
markand
DKB
Charles Cox - MSFT
marun11
Bapa
Thierry Bouquain
Ovidiu Burlacu
BLiTZWiNG
ihackdw
Jacco Mintjes
b6s
Majid.vagheeian
Ghassan Rashed
sai111
wei917
JCJCJC
p_dinesh
Abhiram Bandhakavi
Nitin Agrawal
Only Title

manick312938's Q&A profile

  • SQL Server Loop Through Flat Files Based On A Date Range

    Hello, I currently have a For Each File container that loops through all files from a specific directory. The files have a naming convention that looks like this; CDNSC.CDNSC.SC00015.01012007 The last segment of the file name is the date of the data in the file (mmddyyyy). The create date for these files is always a day later than indicated in the file name. What I would like to do is to have more control over the 'range' of files that are looped through by using the date portion of the file name to define what group of files should be looped through. Ideally, I would like to have a 'StartDate' variable and an 'EndDate' variable that I could define at run time for the package, and the package would loop through all of the files ...Show All

  • Visual Studio Team System project references to labels or branches?

    If a have a ProjectA that requires a specific version of FrameworkProjectX, can I make a project reference to a TFS Label Or would I need a branch (reference the project path of the branch) Dan Hi: Can we get a bit more explanation on the scenario Here is what I get from it so far: You have a project and you need to reference some dll of the framework with it but you do not want that reference to change as the dlll framework keeps getting updated. If i got that right then you cannot use labels since the project system only cares about the path and not really about versions (does not know about it). So a branch to keep that component of the framework locked should be the best solution. This also me ...Show All

  • SQL Server SP2 fails during full-text component

    Got this error trying to install the service pack on one of my boxes. Any help 02/19/2007 11:19:59.890 Copy Engine: Error, unable to install MSP file: c:\d758bb9ef6e34b2a3f5f9e0f043495cf\HotFixSQL\Files\sqlrun_sql.msp 02/19/2007 11:19:59.937 The following exception occurred: Unable to install Windows Installer MSP file Date: 02/19/2007 11:19:59.937 File: \depot\sqlvault\stable\setupmainl1\setup\sqlse\sqlsedll\copyengine.cpp Line: 800 02/19/2007 11:20:09.453 Watson: Param1 = Unknown 02/19/2007 11:20:09.500 Watson: Param2 = 0x2b18 02/19/2007 11:20:09.546 Watson: Param3 = Unknown 02/19/2007 11:20:09.578 Watson: Param4 = 0x0 02/19/2007 11:20:09.625 Watson: Param5 = copyengine.cpp@800 02/19/2007 11:20:09.671 Watson: Param6 = Unknown 02/19/20 ...Show All

  • .NET Development run a piece of code without context switching

    Hi, i want two lines of my code to be executed uninteruptedly by other threads so that before accomplishing execution of them no other instructions in my process will be executed. It means that until the end of execution of them no other thread will gain processor. Is there any way to handle this problem regards ma lobatakanim o falak lobat baz Can you design your app so that you start the other threads not before those special lines have been executed What makes them special Do they modify some shared object If so you can lock that object on all threads that access it, so only one has access at a time. -- SvenC ...Show All

  • Visual FoxPro Files open under windows 2003 server

    Hi; I have an installation of WinXp and Win98 machines on a win2003 server. I have noticed that some VFP files (like dbf,cdx,mem) remain open after the user has quit the application. I see these file in the 'open files' section of the file server management. It may take a few minutes before the files get closed. Any one knows what is the reson for this, and also would an open file on the server bee seen as an open file in VFP Thx. ...Show All

  • Visual Studio Tools for Office if expression

    I'm having trouble creating an "if expression". The statement is defined in my document template and is based upon a field's value in my database, example: "I am a friend trying to understand an if expression" could also read as: "We are friends trying to understand expressions" This is the code that retrieves the field's value: hlddata = Trim(rs("insplural")) pluraltxt = Me.Variables("pluraltxt") pluraltxt.Value = hlddata I am defining this statement in the msword.dot template as: {if{docvariable pluraltxt}= "Y" "{inserttext "We are friends trying to understand expressions"}" "{inserttext "I am a friend tr ...Show All

  • Visual C++ g++ and cl.exe - same source, but different behaviour

    Hi,, I've a big problem with this code: #include <stdio.h> #ifndef __GNUC__ # define __PRETTY_FUNCTION__ __FUNCTION__ #endif class RecurrenceRule { public: class Observer { public: Observer() {fprintf(stderr, "A - %s\n", __PRETTY_FUNCTION__);} }; RecurrenceRule(){fprintf(stderr, "B - %s\n", __PRETTY_FUNCTION__);} void addObserver(Observer *) {fprintf(stderr, "C - %s\n", __PRETTY_FUNCTION__);} }; class Recurrence : public RecurrenceRule::Observer { public: class Observer { public: Observer() {fprintf(stderr, "D - %s\n", __PRETTY_FUNCTION__);} }; Recurrence() {fprintf(stderr, "E - %s\n", __PRETTY_FUNCTION__);} void addObserver(Observer *) {fprintf( ...Show All

  • Software Development for Windows Vista "bindingRedirect" does not work, same error occurs

    Hello, I'm using the "bindingRedirect" element in my web.config to allow updates of my workflow DLL without recompiling the website. But I still receive the same error: Could not load file or assembly 'TestWorkflowLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c417d4d39ba0d6b2' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I built my website with version 1.0.0.0 of "TestWorkflowLibrary". After that I created a version 1.1.0.0 of "TestWorkflowLibrary" which I placed in the "bin" folder of my website. When accessing the website, the above error is shown. I read that it's poss ...Show All

  • Windows Forms Loading Image (Visual C# 2005) and Export Image question

    Hey, I after these lines of code what should I put to make it load the image into a PictureBox openFileDialog1.DefaultExt = "*.gif" ; openFileDialog1.Filter = "Gif Images (*.gif)|*.gif|JPG Images (*.jpg)|*.jpg|TIF Images (*.tif), (*.tiff)|*.tif|PNG Images (*.png)|*.png|BMP Images (*.bmp)|*.bmp" ; openFileDialog1.InitialDirectory = "MyDocuments" ; openFileDialog1.CheckFileExists = true ; openFileDialog1.CheckPathExists = true ; Thanks :) oh, thats why, it is Visual basic code... hmmm...I will try to convert it in my head...lol..hmmm   oh, C# right there..ok     thanks guys I will try it   EDIT: error: 'System.Windows.Forms.PictureBox' does not contain a definiti ...Show All

  • Visual Basic Save Contents of Textbox into a .txt File

    On my form, I have a textbox that a user can type in. I need a way to save the contents of the textbox into a text file to a path ( \\server\folder\folder ) AND overwrite an existing text file. Does anyone know a way to do this with both option strict and option explicit turned on Thanks in advanced! This is the complete form I have. I have a textbox and a button on it. Imports System.IO Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click File.WriteAllText(sfd.FileName, TextBox1.Text) End Sub End Class ...Show All

  • Visual Studio IDE does not run

    Visual Studio 2005 Professional was running fine on my machine. Then I downloaded and installed evaluation versions of 2 different antivirus programs, uninstalling the one before installing the other. Now Visual Studio does not run. I have uninstalled all antivirus software, and uninstalled and re-installed Visual Studio. The installation goes smoothly. MSDN installed from the CD works fine. When I try to start Visual Studio, the splash screen displays for about 1 second, then disappears. There's a small amount of disk action, then nothing. Is there any documentation of the startup procedure that Visual Studio goes through as it loads It would be helpful if I knew what files it was trying to access and what scripts it was trying to run. ...Show All

  • Visual Studio Express Editions What gives?

    I wrote this code for my program to create a directory. It looks like this: My .Computer.FileSystem.CreateDirectory( "C:/Documents and Settings/" + Environ( "USERNAME" ) + "My Documents/" + TextBox1.Text) and it wont do it... it just gives me an error that says that the file path isn't supported. Try this...it will return the path to mydocument of the currently logged on user and as long as textbox1 does not contain any illegal characters it will create the directory Dim MyDocs As String = Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) My . Computer . FileSystem . CreateDirectory ( MyDocs & "\" & TextBox1 . Text )   Edit: you ...Show All

  • Visual Studio Team System Moving a dual server instance to new hardware

    I'm in the middle of moving a dual server instance of tfs to a couple of test machines. We've successfully installed the tfs dual server setup to the app and data tiers, and restored the databases from the live instance to the test setup. I'm just in the final stages of the move and am hesitant to run the tfsadminutil activateat command because of the prompt i receive. It asks me to make sure the old app tier has stopped the tfs service before running the command. My question is this. By running the command on the new server, will it in any way affect the old instance. The reasons; I have a live instance running on 2 machines, and I want to do some testing in a staging environment, so I need to live instance to be available after I do th ...Show All

  • Smart Device Development Data Push

    I have data stored in the oracle database. I will have an application (or web) server (for WAP Push) How can I do when data in the oracle database is updated, the program in the application server will know and PUSH the updated data into the smartphone Can SQL 2005 do "Pushing" like this Are only SQL2005 & Exchange Server 2005 can do "PUSH" The objective is that instead of the smartphone always ask the server what is changed, the server application will detect the change and automatically tell the mobile unit.... P.S. can anyone tell me more about the PUSH technology If you want to know about SQL Server mobile-data-sync scenarios than you should look into this p ...Show All

  • Windows Forms Very slow load of C++/CLI project with WinForm

    I have a large C++/CLI project that I'm building with VS 2005. I've added a WinForm to the project that contains some 3rd party components (DevExpress). It compiles and runs, but when I load the project into Visual Studio it takes 5 minutes to start up! Before I added the WinForm it took about 10 seconds. I took a look at what VS 2005 is doing during this time and it's creating 94 folders in C:\Documents and Settings\Fred\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies and copying my project's .EXE and .PDB file into each one. Unfortunately, the .EXE is 11MB and the .PDB is 32MB... all-in-all it's copying 3.82Gb of data (4K at a time) which takes a while. Also, if I make any change in the form designer an ...Show All

©2008 Software Development Network