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

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

glenna

Member List

Insignals
DaveDB
SrqDan
Ralf van der Zanden
darkool
EdenR
Antfor
Pradeep Gupta
Sravan Ankaraju
Dave van Bale
rabi
Rod Yager
Arska
Steven Gilissen
Arunkumar.B
Vijay Guru Prasadh
mranzani
Gene R S
fdc2005
David Cowell
Only Title

glenna's Q&A profile

  • Visual Basic best practice when writing to sql server

    I will be writing to a sql database at different points in the program. Is the following going to be ok. during the formload open the connection to the sql server create a sub that writes to the sql server -or- do I have to open the connection, write to the sql server, close the connection every time. Thanks, Nelson I open and close the connection on each read/write. Your main overhead is in the initial connection so when you first connect (I asume to sql2005) it may take a few seconds but after that its lightning fast. Also you may want to think about wrapping all the database functionality into a wrapper to simplify your code elsewhere. You can also then make this wrapper threadsafe therefore allowing ...Show All

  • Visual Studio Team System Add Related Work Item to different Project?

    So I'm considering setting my TFS up so that we have a Project for each of several products, and also a project for each of several common assemblies. Normally, a bug would be logged against one of the Products, since the person logging the bug wouldn't (in theory) be aware of the underlying modular structure. Somebody would review the new bugs and decide which module(s) they actually belong to. So I'd like to be able to open a bug and choose Add Related Work Item to make a related bug, but in a *different project*. I get the distinct impression I can't get there from here. Perhaps others have pondered this and have other options. One that I can think of is to have one project for "everything" and use the "Area" to set ...Show All

  • Smart Device Development How to debug what can't be seen ?

    Sorry for the title, but I can't fine a better one. Let me explain my point : I have some project which runs fine on most of the windows mobile phone pocket pc we have here. But on some, when hitting the power off button, the device will go off, but won't be able to get on anymore, we have to soft reset it. We have a driver, which seems to stop loading (at various places), but don't seems responsible for the device to hang on. I was thinking of running it on a PB emulator to have some messages during the boot phase, but our solution won't run on an x86 emulator. So I was wondering if any of you know how we can go on with this. Any help is welcome. Edouard Dessioux Hi Edouard One o ...Show All

  • Visual Studio Do VS Build Event scripts support environment variables?

    Can I use %ProgramFiles% in a post build event script VS does not appear to have a "macro" for the Program Files directory, and the relevant MSDN topic makes no mention of environment variables. Thanks! -Doug Doug. You should be able to use $(ProgramFiles) in your post build event script. MSBuild exposes all of the envbironment variables as properties within a script run using the $() syntax. If you run any MSBuild script using "MSBuild /v:diag foo.proj ", you will see the environment variables available to you inthe output. - Steve ...Show All

  • Visual C# Bitmap Save problem

    Error is as follows: False System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at System.Drawing.Image.Save(String filename, ImageFormat format) at DynamicTextPicture.Watermark.Create() DynamicTextPicture.dll using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; namespace DynamicTextPicture {     /**//// <summary>     /// WaterMark     /// </summary>     public class Watermark     {         private int _width;       ...Show All

  • SharePoint Products and Technologies VS 2005 - Microsoft.sharepoint Namespace missing

    Hi, How setup my dev pc to get this namespace and create my own CFT. I installed wss 3.0 SDK - VSeWSS - VS Extension for WF Thanks for help i'm having the same problem - just installed the C# template now VS can't find the Microsoft.SharePoint reference, and neither can I. Where can i find the references to Sharepoint ...Show All

  • .NET Development Unable to access website - System.NullReferenceException

    Thanks for you your help in advance. This is my first posting...I hope I'm in the right forum...please be patient. When I try to access http://www.christianitytoday.com/ I recieve the folling message: The following request... Raw Url: /cms/home/index.aspx Server: WEBSERVER4 Application: /cms/home/index.aspx Threw the following exception... Exception: System.Exception Source: lib Message: Display default page. Stack Trace: at CTI.Presentation.SiteManager.handleRequest(Page the_page) at CTI.System.CMSCore.handleRequest(Page pg) at Home.Index.Page_Load(Object sender, EventArgs e) in Y:\cms\home\index.aspx.cs:line 62 Thrown by inner exception... Exception: System.NullReferenceException Source: lib Message: Object refe ...Show All

  • Windows Forms C++ Drag and Drop

    I know there have been lots of questions asked about this, but I can't see any that answer my particular one. I have pictureboxes that I want to be able to move round a panel freely - they contain bmps. I have implemented the dragdrop events of the panel like so: private: System::Void pnlDragDrop_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { PictureBox^ picPole = safe_cast <PictureBox^> (sender); picPole->SetBounds(posx, posy, picPole->Width, picPole->Height); } private: System::Void pnlDragDrop_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { e->Effect = DragDropEffects::Move; } private: System::Void pnlDragDrop_DragOver(System::Object^ sender, System: ...Show All

  • Visual Studio Express Editions Show what is going on faster

    When I have a program doing something that takes a few minutes, I like to show them the status, so they know that it is not locked up. The progress bar is a pretty good solution, if you know how many 'things' there are. The label and text or even button text works, but slows the program down quite a bit when it is refreshed. A very unique solution I have found is to create a new window form. Remove all the buttons from it, lock it into the top view (always on top), and resize it so it JUST shows the title bar. Make it invisible. Now, when you need it, call it as shown: dim fr as new formname fr.show fr.text = "Loading record " & record & " of " & totalRecords fr.refresh Update it when y ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Capturing the mouse

    Hi, I control my model with mouse. The problem is that when the mouse reaches the bottom of the screen, the model stops moving. How can I capture the mouse to make the rotation infinite (while I move the mouse to one direction, the model keeps rotating) Here is the code of the current mouse control: MouseState mouseState = Mouse.GetState(); x = mouseState.X; y = mouseState.Y; if (y > previous_y)             {                 modelRotationPitch += 0.01f;                 previous_y = y;         &n ...Show All

  • SQL Server Transaction log filling up in "Simple" recovery model, catch 22

    I need to do the quaterly cleanup of our database involving moving historical data to our history db and delete-ing records in a our operational datastore. I've set the recovery model to "simple" as advertised in numerous fora and KB articles. Still the the transaction log goes through the roof evertime I do a delete * from myTable where datetime < '2006-10-01' Where eventually it fails becouse transaction log is full....(Msg 9002) If I do a BACKUP LOG myDatabase TO myBackup sql claims that I cannot perform a transaction log backup (Msg 4208). So I 'm stuck with a large log file in the "simple" recovery model that can not be shrunk... SQL Server 2005 Enterprise Editio ...Show All

  • Windows Forms set default value formview insert

    Wondering if anyone knows how to set a default value in one of the textboxes in the InsertItem template of FormView. It would be very helpful to load the value into a label instead of the textboxes for the key value so it is displayed. There are a couple of other ways to do this but it seems like it would be cleaner in the FormView control itself. I have been able to use the dataset default value to save a key value from a parent control but it seems a little complex. Bill ...Show All

  • SQL Server Export Format Dropdown display name rsreportserver.config

    I have made an extra Render Extension specifying different deviceinfo settings. I have called the Extension a new name in attributes and have also specified the same name in Overridenames. This gives me the additional extension I require, except the name in the "Select a format" user dropdown is the same as the original i.e. I now have 2 "Acrobat (PDF) file" entries in the dropdown. Is this correct Can I change the dropdown name This here works for me: <Extension Name="Jens" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport,Microsoft.ReportingServices.ImageRendering"> <OverrideNames> <Name Language="en-US">Jens magic rendering extension</N ...Show All

  • Visual Studio Express Editions Inet?

    Can console apps have an Inet If so whats code to add and use, or if there is none whats an alternative what exactly do you mean by "check for updates" this is entirely something you would have to do since its something you have developed yourself. Give a scenario including steps on what would happen if they "check for updates" and what is expected from it and hopefully we will try our best to explain/give the appropriate solution ...Show All

  • Visual C# Write text over images...

    Hi, How can I write a text over a image, defining the position of the text... Like I have a picture of a man holding a whiteboard and inside it I want to write "Enter"... I have the coordinates already... Thanks I have noticed that when I save the image, the image size is reduced by about 1/3rd. So I guess the output image would be distorted. How to write to text without changing the resolution of the original image Any ideas Thanks Srini ...Show All

©2008 Software Development Network