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

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

bryanedds

Member List

Saroj K. Nanda
siavoshkc
mojohnk
Zakary
Jim Perry
creaturita
laboremus
Glenn Rogers
neoret
Aero2042
Mart Tapp
kennm
Jehan Badshah
Gene Best
Ido Flatow
graab
Paryse
KnobCreek
Bill_Henning
KathyGirl
Only Title

bryanedds's Q&A profile

  • .NET Development Connection to MS Access Database within Web.Config file......

    This has possibly been answered before but I am having issues connecting to my Access Database. Code being used as follows: Default.aspx file: " < asp : GridView ID ="GridView1" DataSourceID ="Label2" runat ="server"/> < asp : SqlDataSource ID ="Label2" runat ="server" SelectCommand ="SELECT * FROM emails" ConnectionString =" <%$ ConnectionStrings:db1 %> "></ asp : SqlDataSource >< br />" Default.aspx.cs file: " using System; using System.Data; using System.Data.OleDb; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.Web ...Show All

  • Smart Device Development CeRegCreateKeyEx

    I am developing a little program on a pda, loaded with Windows Mobile version 5.0 OS 5.1.195 My desktop pc is running XP professional Version 2002 service pack 2 I am using ActiveSync version 4.1.0 From the desktop I am using VB6 to basically move data back and forth. I have already had problems with CeFindFirstFile and CeFindNextFile, and my conclusion is that it doesn't work for set up I have. I have now moved on to try and use CeRegOpenKeyEx, CeRegQueryValueEx, and CeRegCreateKeyEx as this could be useful to gain information from the pda currently connected to the pc. I found articles 306368 and 249144 and followed the instructions, but yet again it doesn't work. What I have noticed is that at the bottom of the article ...Show All

  • Windows Forms flicking effect

    Hi all when I was discovering Visual studio .Net 2005, I tried to put about 50 buttons on a form and run the application, but I had got a strange behavior, that is the buttons started to be painted one after another making a feeling of flicking, I tried to many ways to overcome this by using double buffering but still got the problem Ahmed, Run the application in release mode as opposed to Debug and see if the problem improves. I don't know the exact details, but there is something in the new vshost.exe that causes controls to be drawn slower in debug. Ken ...Show All

  • Visual Studio Express Editions Development using IDE and custom code

    Hey All, This is a very simple question and i was hoping with someone with a bit more development experience via an IDE might be able to help. I'm using Visual C# Express to develop an app and am loving it, i'm confused though as to how I can use both the IDE and write snippets of my own code. Take a very simple example. I have just embedded a TreeView component in my app and want all the nodes to be expanded by default. I can't seem to find the property in the Properties toolbox so i've gone in and written the line of code myself to expand all the nodes. Whenever I click back on the design view however, it kindly removes my code for me. Am I to expect that it's a case of using either the visual development tools or developing the code al ...Show All

  • SQL Server SP1 R6031 when starting DTA

    My environment at home is I am running Win XP Pro with SP2 and I am running SQL Server 2005 standard. I am receiving error message 'R6031' when I try to start DTA. I have gone into KB and found article 913395. I am unable to delete the key value indicated as I do not have that key in my registry. I would really like to use DTA! Any suggestions I also saw this suggestion while searching for this error: "Also please check if an environment variable __COMPAT_LAYER is set "set __COMPAT_LAYER=" , basically disabled the compat layer and dta ran OK" Thanks, Sam ...Show All

  • .NET Development explicitly setting varBinary sqldbtypes to exceed 8k bytes

    The limit on VB(max) is 2 gig, but how do you access that much via the parameter collection when there is no explicit sqldbType for this type insertCommand.Parameters.Add("@blob", SqlDbType.VarBinary).Value = entry.Blob where blob is a varBinary(max) column. Firstly, why is there no type for a varBinary(max) The docs say about sqldbtype. varBinary: A variable-length stream of binary data ranging between 1 and 8,000 bytes. Implicit conversion fails if the byte array is greater than 8,000 bytes. Explicitly set the object when working with byte arrays larger than 8,000 bytes. Fine, but how Try SqlParameter param = insertCommand.Parameters.Add("@blob", SqlDbType.VarBina ...Show All

  • Visual Studio Team System automatic data generation based on user inputs

    Dear All, I want to generate test data automatically. The process is as follows, 1. User will enter the fieldname and datatype and range in a form. (inputs will change) 2. We have to capture that details 3. Based on the defined fields, we have to generate test data 4. Put the test data into an excel sheet i am looking at getting an overview about the whole process from a design point of view and implementtion will follow. any insights will be appreciated. any resources/ links with reference to the above requirement are welcome. thanks, mkuppu Team Edition for Database Professionals provides a facility to allow you to automatically generate test data based on user configuration. I think this tool in many w ...Show All

  • SQL Server Web Sync Snapshots eat up disk space

    Hi Heads up on TEMP files I've been running web Synchronisation for over a month. Just today some subscribers received a message warning of an "OS Error" could not retrieve file "dynsnapshotvalidation.tok". Sometimes they also got an error regarding low or no virtual memory. After much investigation it seems that the Web Server hosting the web sync IIS had literally no space left on the system c: drive. It also turns out that the \\Windows\TEMP folder contained over 9GB of snapshot files. It seems that when the Web server collects snapshot files from Data Server to deliver to the subscriber it creates a Temp copy on it's own local system. Unfortunately this temp data is not cleaned up and over time has jammed up the sy ...Show All

  • .NET Development 64 bit remoting app searching for VJSharpCodeProvider

    We have a remoting app we are currently trying to port to 64 bit. It is written in C++/CLI. Whenever we try to connect to our application on the server throws the following exception: The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. (Full exception included in the bottom of this message). We do not use any J# in our application. As there is no x64 j# runtime I am at quite an impass as to what to do. It may be worth noting that we are connecting from a 32 bit client. I would be thankful for any suggestions. Mike The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The caus ...Show All

  • Software Development for Windows Vista A problem with Installing VS 2005 Extension for WWF

    I have a problem when trying to install the latest version of visual studio 2005 Extension for windows workflow foundation. I've installed: .Net Famework 2.0 from the following link: http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en .Net Framework 3.0 http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en VS extension http://www.microsoft.com/downloads/details.aspx FamilyId=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en When I try to open any sequential workflow in visual studio 2005 I couldn't open the design view and the following err ...Show All

  • Windows Forms Creating Tabs to specific points in a Tab-delimited file

    Way back in my VB6 days (I know, I know), I could create a tab-delimited file that used tabs to specific characters, like this: Print #i, sNow; Tab(25); sVer; Tab(35); sType; Tab(45); sUser; Tab(60); sFlag; Tab(65); CStr(gUserID); Tab(72); sMsg This would cause things to appear at specific tab points, irregarless of the size of the text I was writing. I can see in .NET how I can use the ControlChars.Tab to create tabs in a line, like this: Now.ToString & ControlChars.Tab & My.Application.Info.Version.Major.ToString & "." & My.Application.Info.Version.Minor.ToString & ControlChars.Tab & sType However, these are just like hitting the "tab" key on the keyboard - they don't go to a specif ...Show All

  • Visual Basic Printing DatagridView

    HI, I need help on this. I already have a populated datagridview and i need to print it. Whats the easiest way to do this in vb.net Thank you so much in advance! Stanley You can, indeed, print out the 'form' with your datagridview using the Print Form powerpack: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=747347&SiteID=1 However, it sounds like you don't want that: you would like to print the contents of the datagridview directly to a printed page. You need to first understand how to 'print' from VB with the PrintDocument Class: http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx There's an example which prints a text document. Y ...Show All

  • Visual Basic string ?

    I have one doubt in VB. If possible, can u explain me please I have a string = "googlemailsearch" I want to check whether the characters "mail" is available in the above string ! The characters "mail" would be in any place. Can be in the begining or at the last .... InStr is not a method of the string classes. It's a function! A better solution would be to use the native .Contains method. Dim MyString As String = "googlemailsearch" If MyString.Contains( "mail" ) Then ' Do Something End If ...Show All

  • SQL Server INSERT INTO table From EXEC -

    Hello, How can I insert values from a query directly to a table in my database the query gets values from a linked server and i want to directly insert the results in my local database. This is how i thought would be done: CREATE PROCEDURE dbo.SP_INSERTfromEXEC AS BEGIN INSERT INTO dbo.mytable EXEC dbo.QuerytoLinkedServer END When i execute dboSP_INSERTfromEXEC procedure, then i get this error: The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "blahblah" was unable to begin a distributed transaction. Now, when I execute dbo.QuerytoLinkedServer procedure, i do get the values, there is no error. It just doesn't want to insert it I suppose. Any help would be greatly appreciated! ...Show All

  • .NET Development Using 2 diffrent .Net versions depending on Config

    Hi. I want to use 2 diffrent .Net versions on the same project. This is because i want to be able to compile my project to PC and to Windows Mobile. I have seperate the code that is diffrent by creating 4 new project configurations instead of the standard 2 "Release" and "Debug". PCRelease, PCDebug, WindowsMobileRelease and WindowsMobileDebug Then i use #if WINDOWSMOBILE do Problem with this is that i only know how to load 1 .Net version into VS 2005 and i dont know how i could alter the version beeing used depending on my project configuration. Any suggestion   Edit: Changed topic Maybe this will help: http://www.codeplex.com/Wiki/View.aspx ProjectName=MSBee ...Show All

©2008 Software Development Network