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

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

AlexBB

Member List

Srilowha
CJW99
RaviKanthReddy
vasudupe
donkaiser
nononsense!
pavel989
Wilton Kwok
railguns
arkiboys
Huseyin Akturk
jerfoo
search and deploy
VatsaLoid
PravinD
WinFormsUser13232
wlaulner
gracias
GrandpaB
Hammo
Only Title

AlexBB's Q&A profile

  • Visual C# How to set image property of buttons in a DataGridViewButtonColumn??

    I want to display a icon on each of the buttons of a DataGridViewButtonColumn.. So that the icon is displayed when button is pushed and the icon is made invisible when its pushed again. There is not an image property for the DataGridViewButtonColumn you can however draw the image in the cell paint event. Here is a simple example. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Text; using System.Windows.Forms; namespace CSButtonColumn { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load( object sender, EventArgs e) { String st ...Show All

  • Commerce Server Developer's workstation

    I'm still struggling with the notion that all of our developers must have Windows Server 2003 running on their desktops to build CS based applications. There are few references on the net about this and the bottom line is that doing it on XP is an option but not recommended ('I told you so' on one of the blogs). Being aware that some features may not work (warehousing) I still would like to have development done on XP. I've installed CS2007, already have VS2005. I've unpacked CSharpSite and when trying to access the page get this error: ' Login failed for user ''. The user is not associated with a trusted SQL Server connection'. I went to Commerce Server Mangager and for each (I hope I've covered all) connection to into Profiles, Mar ...Show All

  • .NET Development Iterating through a dictionary without foreach

    Working with C#. How would I access the nth item of a Dictionary I would like to do something like this: for (int i = 0; i < intDictionary.Count-1; i++) { for (int j = i + 1; j < intDictionary.Count; j++) { Console.WriteLine("{0}", intDictionary.Item[j]); } } Is this possible with a Dictionary or would I have to use a SortedList or similar TIA SortedDictionary supports a defined ordering (sorted) of key/value pairs. Dictionary may still do the trick for you, but since the ordering of the elements is unspecified, it'd be a risky bet since you loop at least expects the ordering not to change. ...Show All

  • SQL Server SOX Auditing queries

    Does anyone have processes they run to maintain Sox compliance Like for superuser audit I am looking to automate some SOX auditing ...Show All

  • Windows Forms How do I specify an Icon file from args of Mage.exe and how do I create 2 entries in the start menu?

    Hi everybody, I am attempting to automate a little bit our usage of the ClickOnce technology. Using MageUI.exe, I was able to successfully build a ClickOnce application that installs itself on the user's workstation, with the Icon File specified like if I did everything using Visual Studio 2005's publishing wizard (shortcut in the start/programs menus and all). Here in our project, it is not an option to use Visual Studio's wizards and msbuild to automate deployment of iterative builds. I am trying to do the same as I did with MageUI.exe but at the command line, using Mage.exe . In MageUI.exe I could specify an EntryPoint, and an IconFile, in the Files section of the application manifest tab. I see no documentation and n ...Show All

  • Visual C# How to read a float from a Big Endian binary file.

    I have a binary file written in big endian. Scattered within the binary file, there are 4-byte floats that I wish to read. I can't use methods like ReadSingle() since it is in big endian format. The only thing I have found to solve this is to read it in one byte at a time...reverse the order of the array...write it out using BinaryWriter and read it back using BinaryReader.ReadSingle() from the temp file. This seems to have a lot of over head...is there a better way to do this (I tried the way below but did not work) Thanks. -JRozak FileStream fs = new FileStream(openFileDialog1.FileName, FileMode.Open, FileAccess.Read);BinaryReader r = new BinaryReader(fs); float x=(float)IPAddress.NetworkToHostOrder(r.ReadUInt32()); ...Show All

  • Smart Device Development Getting SSL, Web Services, and Mobile Devices to connect.

    I have written a web service that is running on a windows 2003 IIS instance with SSL enabled. I am trying to determine how to get the mobile device to connect with the web service. I have basic authentication enabled, and the device keeps returning "The trust with the remote computer could not be validated" (or something similar) on the connect() attempt. Can someone point me to a good resource that explains how to get the mobile(PPC, SmartPhone) devices to connect. They are both running .NET 2.0 apps/services. Thanks in advance, Nick ...Show All

  • Visual Studio Express Editions FontStyle

    Here is what I am using Dim font_style As FontStyle = FontStyle.Regular and here is the errorr that I am getting Font 'Monotype Corsiva' does not support style 'Regular'. My question is how do I tell the program to load the font in it's default style Here is what I'm using at the moment. ' Make the new font. If family_name = ("Monotype Corsiva") Then font_style = FontStyle.Italic End If Dim new_font As New Font(family_name, font_size, font_style) ' Show the Changed font. rtbtext.Font = new_font Label1.Text = cboFonts.SelectedItem IsStyleAvailable does not work with the code that I'm using. I think I will have to try what Nobugz has suggested catch the error then change to ...Show All

  • Internet Explorer Development Developer Toolbar broken in IE7

    The DOM Explorer in the Developer Toolbar is broken when you try to run it in IE7. It lets you see the nodes, but you can't modify properties. This was a killer feature in debugging, but now it seems to be broken. I tried reinstalling both the browser and the toolbar, but no luck... ...Show All

  • Visual Studio 2008 (Pre-release) Selection box

    Hi, how can I implement - perhaps translucent - selection box into my WPF application These in Office 2007 look cool ;-) Jan Well, as you guess this is not the problem here. Unless I can draw the selection box just by drawing and changing a rectangle... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX 10-Vista

    I owe a computer with W. XP.I'm going to upgrade it to Vista.My question is if directX 10 needs only Vista to run.My system is fueled by ATI radeon x1600 pro.Do I have to change it or just have Vista As you understood my graphics adapter is new. Could I in the future upgrade my card's driver in order to be combartible with directx10 ...Show All

  • Visual Studio Express Editions about vb express

    do all programs created with vb express have to have netframe works to cuz with the program i created i ziped it and sent it to a a friend and it says they need net frame works inorder to run I started a new thread just before I saw your question. I had the same problem. I installed the .net framework 2.0 which i downloaded from microsoft and my setup worked fine. The only other problem I had was when I tried to install a small program that had a sql database. When I tried to install, the setup said it required SP2 for WinXP. From what I have been able to find out, anything you create with 2005 editions require minimum requirements of .net framework and XP SP2. Both of these I believe you can redistribute ...Show All

  • Visual Studio Express Editions Cannot download VB Express

    I just recently reformatted my computer and cannot seem to download VB Express from the microsoft website. No matter what link I click they all come up errors. I have been getting this alot recently with most any microsoft download. I tried the autoinstaller and the manual iso and img links and none of them work. Is there another place where it can be downloaded I did have it on disc but cannot seem to find it. Thank you, Troy L I've marked ComCast's reponse as an answer - Fast = high bits per second Strong = very small number of dropped packets The answer is that your ISP connection is likely the problem. I'd try a download manager that can recover from dropped packets on a link like this. You can find a lot of them b ...Show All

  • Visual Studio 2008 (Pre-release) Change Source of Frame to display different web pages?

    Hi, I trying to display different web pages in a frame using timer to change its source but it keeps displaying the same page even when its source is changed.. I am writting following code: string[] webAddressQue ={ "http://gmail.com" , "http://yahoo.com","http://bellset.com"}; public void window_loaded(object sender,RoutedEventArgs args) { dtTimer = new DispatcherTimer(); dtTimer.Interval = new TimeSpan(0, 0, 10); dtTimer.Tick += new EventHandler(dtTimer_Tick); index = 0; dtTimer.Start(); } void dtTimer_Tick(object sender, EventArgs e) { if (index == webAddressQue.Length) { index = 0; } myWebBrowser.Source = null; myWebBrowser ...Show All

  • Visual C++ Errors in Standard Header files while compiling the OpenH323 pwlib v1_11_0 in Visual Studio 2005 development environment

    Hi all, I am trying to compile the open source h323 stacks in Visual Studio 2005 environment. But i am gettting the following errors in the standard header files. Can someone please help me in overcoming this problem 1>------ Build started: Project: pwlibce, Configuration: Release STANDARDSDK_500 (x86) ------ 1>Compiling... 1>assert.cxx 1>E:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\include\x86\winver.h(157) : error C2146: syntax error : missing ';' before identifier 'DWORD' 1>E:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\include\x86\winver.h(157) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>E:\Program Files\Windows CE Tools\wc ...Show All

©2008 Software Development Network