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

Software Development Network >> Code Chief's Q&A profile

Code Chief

Member List

soconne
Vile
hommer
Peter McEvoy
Jon Abbott
Nagu
asiaindian
NozFx
JJ_Berg
Nikal
anu_ooo
Gagand
Radomiak
daveCsharp
noyesar
Warren13
Siggy01
js123
hrubesh
Raba21
Only Title

Code Chief's Q&A profile

  • Visual Basic not getting the output on my screen help

    I am puzzled why am I not seeing the progress in my cmd screen This one works: Dim PSI As New ProcessStartInfo() Dim P As Process Dim SR As StreamReader Dim SW As StreamWriter Dim OutPut As String Dim x As Integer Dim xx As Array ratio = "" filename = "d:\MediaInfo.exe -f """ + filename + """ |find ""Aspect ratio""" PSI.UseShellExecute = False PSI.RedirectStandardInput = True PSI.RedirectStandardOutput = True PSI.FileName = "cmd" PSI.CreateNoWindow = True P = Process.Start(PSI) SW = P.StandardInput SW.WriteLine(filename) SR = P.StandardOutput SW.WriteLine("exit") OutPut = SR.ReadToEnd P.WaitForExit() I will see everything for this one... N ...Show All

  • Visual FoxPro Copy File Error in Visual FoxPro 7?

    When a COPY File Command is executed and a space is in either a folder name or a file name, the instruction is unable to handle it. I have tried a technique to put in " quote marks in the manner '"<path><filename>"' but then it gives me a syntax error. Is this a bug or am I entering the full path and filename wrongly If this is a known bug, is there a patch for it If not, how do later versions of VFP do with this "bug" Paul B Walker wrote: Is &cPath a special word or function Please explain. I was using my own words for the macros. u said that your are using variables for the path filename cPath is the variable name which contains the Path & is Macr ...Show All

  • Visual C++ Visual C++ release build

    Hello, I am not a proffesionalist in Visual C++ (from Visual Studio 2005) so I need help. Can any one tell me if I can build a release version of my software which is Windows Forms Application with all needed dll's included in my application The problem is, that I can not install NET Framework on one computer in our company where I have to put my software. Does Visual C++ always need NET Framework Best Regards, Kamil Weather you build Release or Debug, if you are using any part of the framework in your program you'll always need .NET framework deployed in the target system. And since Windows Forms uses the .NET framework you'll need it on the target. ...Show All

  • Internet Explorer Development IE7 icon Problem

    Firstly, let's clear up the icon definitions. Favicons are those that are downloaded from the linked website and show the websites logo or whatever. The icons that we are all concerned with here in this fourm that are in error are the windows icons. These icons along with an array of others are usually contained in system dll files. Indexes into these files are kept track of in the registry and in the shortcut or favorite itself under properties. For example if the dll has 256 icons and windows calls the dll as shell.dll, 255 the 255 is the index into the icon file. In this case the last one (base 0). The problem here is with IE7. The registry entries under HKEY_CLASSES_ROOT (url and internetshortcut) appear correct. I ...Show All

  • SQL Server Backup databases

    Hi I'm trying to setup a back up plan for a number of databases, I initially set up one plan to include all user databases which worked fine or so I thought, when I check them a few days later I noticed that some of the databases were not appearing in the backup set, the only way I could get these to appear is to set the comp level to 90, now when we run certain applications we get an error, when I return the comp level back to 70 then the application works fine, is there a reason I can not back up any database on sql 2005 without it being a comp level 90 Thanks inadvance Hi thanks for the reply, but its not getting that far, stepping through the wizard,first it asks for the database(s) to b ...Show All

  • SQL Server group data by weeks

    I have data entered into a table using a datetime field. How can I group the data one week at a time and show mulitple weeks at a time So you want to pivot your data in a query That is to say you want dynamic columns   So you'll have as many product columns as the max(type) per sales rep Oh boy... ...Show All

  • Visual Studio 2008 (Pre-release) Problem Animating Background in Style for TextBlock

    I'm trying to animate the background color of a textblock in a style, and I get the following error: "'Background' property does not point to a DependencyObject in path '(0).(1)'." I am explicity setting the background as a SolidColorBrush as part of the style, but still get this error. Does anyone know why Many thanks, James <Application.Resources> <Style TargetType="{x:Type local:CostLooklessControl}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type local:CostLooklessControl}"> <TextBlock Name="tbRate" Text="{Binding Path=Cost, RelativeSource={RelativeSource TemplatedParent}}&quo ...Show All

  • Visual FoxPro documentation error - command window - persistence

    Help says "Split lengthy commands by typing a semicolon after a space in the command where you want it to break, and then pressing ENTER." This only works if there is nothing following the semicolon (i.e. I'm entering the command for the first time). This will not split a previously entered command. Are you talking about the Command Box If you go up the history list to re-use a previous command and you want to add to it by adding a ";" then a new line, just select all the text down, after the command you want and press Delete, then continue writing you ammended command line with semicolons (";") if you want. Reused commands go to the bottom of the command list when you re-run them. ...Show All

  • SQL Server Null values when extracting data from an excel file

    Hello, I'm trying to import some data from a spreadsheet to a database table from a package in integration services. The problem is that I see the data when I open the excel file but when I try to run my package , it doesn't insert any rows in the table and it finishes with a success status. My excel file has some formulas to get the data from other worksheets. I added a Data Viewer and all I see is null values in every cell. I need help...does anyone know what's wrong In my case, it happens in both situations, closed or opened. But it happens when I modify something in the sheet. I inserted some rows in blank and that's when I cannot read the data in SSIS. I still have the original file and I wa ...Show All

  • SQL Server Moving data to and from SQL Server 2005, with manipulation in C#

    Hi I am wishing to * take a table of data into a C# CLR procedure and store it in an array * take a second table of data into this procedure row by row, and return a row (into a third table) for each row (and this returned row is based on the data in the array and the data in this row). I am new to CLR programming, and pulling my hair out at the moment. I’m sure that what I’m trying to do is simple, but I am not making any progress with the on-line help and error messages L . I have now described what I am trying to do in more detail, firstly in English, and then in a T-SQL implementation that works (for this simple example). I’m looking for the C# CLR code to be returned – containing preferably two parts: ...Show All

  • Visual Studio Tools for Office Why the letter does not send and kept in a folder Proceeding? (MS Outlook)

    Good afternoon. Why the letter does not send and kept in a folder Proceeding Code: Outlook.ApplicationClass oApp = new Outlook.ApplicationClass(); Outlook.MailItemClass mi = Outlook.MailItemClass)oApp.CreateItem(Outlook.OlItemType.olMailItem); mItem.To = test@test.test; mi.Subject = "2"; mi.BodyFormat = Outlook.OlBodyFormat.olFormatPlain; mi.Body = "2"; mi.Save(); mi.Send(); this.Close(); and how will get rid from Outlook warning window Hi Sergeyr The best place to get help on automating Outlook are the newsgroups that specialize in Office automation and Outlook programming. Try asking in a cross-post to these two groups http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office. ...Show All

  • Visual Studio Express Editions Form.controls modifying

    Hy, I have a question that may be stupid, but I cannot find any online help.... I have a form, and I added a ListView Component! // Add the ListView to the control collection. this ->Controls->add(listView1); // listview is allready vreated, and set up somwher else i want to add some rows, how to I locate the control there should be something like: ListView *list= this->controls->find("Listview1"); I do not know how to get the control can anyone help! Christian Using Visual C++ .net , managed application thank you for helping! yes, I am using visual c++ 7.someting as I found out it should be get_item() and i tried: List ...Show All

  • Windows Live Developer Forums findnearby results

    Hi again. Hopefully this is just a dumb question. FindNearby does not appear to reliably tell me when it doesn't find what I'm looking for on a map.  I was hoping that I could use the VEFindResults object that FindNearby is supposed to return to tell if it found something or not, but I can't get FindNearby to take anything other than the single "what" option.  How do I access the VEFindResults from FindNearby without being able to specify a callback function Thanks.  Use the Find() method, passing in only the "what" option and the callback. This will behave exactly like calling FindNearby(), but also gives you the callback function you need. Ch ...Show All

  • Visual Studio Team System Richtextbox with table in asp.net with c# (urgent)

    Hi I want a solution regarding add a table in richtextbox runtime. same like Ms word table. Please provide a sample code or give suggestion. Thanks jenkins start with investigating the Richtextbox.Rtf property Create a table in the word document , create a table and paste it in the Richtextbox. And start investigating the Rtf property of the richtexbox control For empty text in the Richtextbox, the rtf looks like this {\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\ltrpar\f0\fs17\par } This is my text looks like in Rtf looks like {\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans S ...Show All

  • Visual Basic Resize windowform1

    hi, i am new to VB.net(Windows application) how to dynamically increase/decrease control size when form size is increased/decreased by user i tried using tablelayoutpanel/Anchor/docking.i find it using very diffcult to use.(I think i dont know how to use it ) is there material available in online about how to use tablelayoutpanel/anchor/docking Thanks in advance Maybe this would help: http://www.windowsforms.net/FAQs/default.aspx PageID=3&CategoryID=46&SubcategoryID=50&tabindex=3 Best regards, Johan Stenberg ...Show All

©2008 Software Development Network