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

Software Development Network >> Bulldog.NET's Q&A profile

Bulldog.NET

Member List

jcollomosse
Akshay S Bhatnagar
Mike Chapman
Mikhail Ryzhinskiy
Trivolve
kageg
chriswlc
rusty123
PCSQL66
SaucerBoy
pmak
Jehan Badshah
mastermind1429
John230873
fornol
melberti
Ryan_H
Álvaro Peñarrubia
Fox Me Up
Gurpreet Singh Gill
Only Title

Bulldog.NET's Q&A profile

  • SQL Server Restoring SQL2000 Transaction Logs to SQL2005

    Hey all, Just went through migrating to SQL 2005 as well and we have a need to apply log shipping between SQL 2000 and SQL 2005. Well not shipping per say in the automated fashion that SQL 2005 offers but rather we need to apply SQL 2000 transaction logs to a SQL 2005 instance. Though the database is still in SQL 2000 version 80 and the secondary database needs to be available in read only. (STANDBY MODE) When I attempt to restore either a FULL backup or transaction log I get the error: RESTORE DATABASE is terminating abnormally. This backup cannot be restored using WITH STANDBY because a database upgrade is needed. Reissue the RESTORE without WITH STANDBY The only way I could restore the FULL was by using the WITH RECOV ...Show All

  • Visual Basic Problem, can u have me ????

    Now, I have a batch file. I want to implement a webservice to execute this batch file and get value return on standard output. How can i do it. You certainly can and it can be as simple as how it’s done from a Windows application such as in this example . Depending on what your batch file is doing... you may run into some issues with user rights as the user account the web service is running under has far less permissions than the user you normally log into the machine with... so some impersonation may be called for. ...Show All

  • Windows Forms Access Controls or Variables on other forms

    Without using Properties.Settings how would a form access a variable on the default form or another form How would it access a control (either its property, or perform a control method) is this from the Second form you can access it (the first form). There are no form instances being created except for the form you are going to be showing.... I think I'm a bit confused on your question :-) ...Show All

  • SQL Server Shrinking databases or files

    Hi, I have some doubts about Shrinking databases or files. while shrinking a file, I learned that we are alllowed to shrink more than the minimum size of the file, does not it bring damage to the data in that file Hi Derek, I understood what you mean finally. When we apply shrinking to our files, we make the growing process start in order to activate the unused spaces(rows). So growing process requires too much performance which shows the inefficiency of shrinking. Besides, heavy shrinking, which is also called that trying to make a file very and very small, is really dangerous for datas in the files. This is the another disadvantages of shrinking. As you said before, we should only apply this method(shrinking) when we drop huge ta ...Show All

  • Gadgets Sidebar gadgets outside the sidebar?

    Hi guys, I'm interested on building some gadgets and I'd like to know a couple of info about this specific type. 1) Can they exist outside the sidebar In this case, can they know their position in the stage 2) Can they communicate to each other I had a look to the API and I couldn't find so much information about these topics. Any info will be very appreciated. Thanks, chr You'll need to create an account on AeroXP before you can download it from the link above. Sorry, I should have said. ...Show All

  • Visual Basic generating variable names

    Sorry to be so stupid but I'm new and as yet have been unable to find a post that answers my question by searching. What I am trying to do sounds straight forward to me - but I can't do it. I want to be able to define and access variables from a string. Eg Instead of dim variable1 as integer dim variable2 as integer dim variable3 as integer dim variable4 as integer dim variable5 as integer dim variable6 as integer I want to be able write a for loop that defines all something like dim counter as integer for counter = 1 to 6 dim variable & counter as integer next counter Needless to say there aren't 6 variables (and for that matter nor is the code quite so simple) Similarly I might want this so t ...Show All

  • SQL Server Recordset.update with SQL Native Client doesn't work

    We recently migrated from SQL Server 7 to SQL Server 2005. Now there's a curious thing with some legacy applications. I have pasted some code below. Don't judge me, because like I said, it's legacy. You can see, that I have two connection strings. One is commented and accessing via SQL Native Client. The other one is doing this through the old SQL Server driver. Funnily enough, when I use the new Native Client driver, the exception "Run-time error '-2147467259 (80004005)' [Microsoft][SQL Native Client]Invalid attribute value" is thrown in the rsPorder2.Update line. With the old driver, this works just alright. Is this a bug Is there a way, to make the code run, because we don't want to search the whole application for othe ...Show All

  • Visual Basic Need help storing a color, font & size in settings & retreiving them too

    I need to be able to store the various properties of a font in the Settings area in .NET 2.0 and them retreive them as well. I know how to store the String, Boolean, Integer, etc. values & retreive them, but I don't know how to store & retreive System.Drawing.Color, System.Drawing.Font, etc. values & then retreive them. Here's a high level of what I need to happen. 1. I run my application 2. I select Edit Font from the menu 3. I get a FontDialog 4. I choose a Font, Color & Size. Problem 1 - I need to store the Font, Color, Size in the My Project -> Settings area so I can retreive them next time I run the application. Currently I use this, but I need to know the right way to do it. My.Settings.m_strLabel1 ...Show All

  • Smart Device Development Installing activex control on to mobile device

    Hi, I'm trying to install and register a ActiveX control written in C# for CF 2.0. I created a smart device cab project and added the primary output of the ActiveX control project to the setup. I then copy the files (.cab, .inf) to the device and ran them but I still recieve Automation errors when trying to create this object in PIE using JScript. Any help would be appreciated. Thanks. This is what the .cab project inf looks like: [Version] Signature="$Windows NT$" Provider="Default Company Name" CESignature="$Windows CE$" [CEStrings] AppName="FmcPdaAxInstall" InstallDir=%CE1%\%AppName% [Strings] Manufacturer="Default Company Name" [CEDevice] VersionMin=4 ...Show All

  • Internet Explorer Development IE7 Tabs

    I am looking for a way using the SendMessage API or something along those lines to activate a different Tab from an external application, so I can detect if a URL is already open and restore that instance of IE and automatically switch to the proper tab. Clyde, I thought that was a good idea...so I spent the day writing a band object that launched tab groups from favorites. Then I looked in IE 7 favorites...it already has this feature! lol. ...Show All

  • Windows Forms Control.DrawToBitmap and Performances

    Hi all, I'm currently thinking on using quite intensivelly the DrawToBitmap method found in the Control class to render controls in certain places of my form. I was wondering if any of you would have any idea of how it could affect performance Thanks, Amadrias No, Basically, what I'm trying to achieve is make use of some old source code I do have to paint on Non Client areas. I have a control that perfectly paints what I want to achieve for this other control non client area but, as you know, you can't place a control out of the client rectangle and have it drawn still. So, I'm trying to achieve the same goal by copying the control as it renders into a bitmap that I use when the non client area is to be p ...Show All

  • Visual C++ MFC/C++

    In MFC/C++, I always use dialog box to get user input, Is there someway I could put controls (combobox, pushbutton, edit field, etc,) on Main window (view) instead I tried, I can only put out progress bar and text, not a pushbutton. Can some guru help Thanks. Steed I did. My code is like this : CProgressCtrl progBar; CRect rec(240,180,540,200); progBar.Create(WS_VISIBLE|WS_BORDER|PBS_SMOOTH,rec,this,ID_PROGBAR); progBar.SetRange(0,4000); progBar.SetStep(1); for (int ii = 0; ii < 300; ii++) progBar.StepIt(); CButton but; CRect rec1(240,250,280,270); but.Create("STOP",WS_VISIBLE|WS_BORDER|BS_PUSHBUTTON,rec1,this,ID_BUT); for (int ii = 0; ii < 300; ii++) prog ...Show All

  • Visual Studio 2008 (Pre-release) SandDock in WPF

    Hi all, in my application I've been trying to add dockable windows using SandDock. I have this in my XAML-file: <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms" xmlns:sd="clr-namespace:TD.SandDock;assembly=SandDock" > <Grid> <wfi:WindowsFormsHost Height="100" Width="200"> <sd:DockableWindow x:Name="sdWindow" /> </wfi:WindowsFormsHost> </Grid> </Page> a ...Show All

  • Visual Studio Error Info Handling

    In aspx file, when error occurs, compilator can always tell you at which line in codes the error was generated.   But if the error is caused within a self-made class--- that is---in a dll file, I can only get the error description string rather than the specific line where error acturally occured, by use of a string variable "ErrorInfo"  in class for storing exception message: ... catch(System.Exception E) { _ErrorInfo = E.Message + E.Source; }   What's more, error is not necessarily an exception, right If I want to know which specific line in the dll file( or the cs file before compilation) caused an error, how to do Nimrand wrote: When you compile your DLL with the d ...Show All

  • Visual Studio 2008 (Pre-release) Is it possible to run a WPF application that requires full trust in a browser?

    Our app is a xaml browser application, and is set to 'requires full trust' option. It can run in debugging mode, but does not run in the browser. The following error is shown: Trust not granted. The application cannot be deployed because it is not trusted and possibly unsafe. Detail: PLATFORM VERSION INFO Windows : 5.2.3790.65536 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://localhost/DataAnalysis/DataAnalysis4.xbap Application url : http://localhost/DataAnalysis/DataAnalysis4_1_0_0_1/DataAnalysis4.exe.manifest IDENTITIES Deployment Ident ...Show All

©2008 Software Development Network