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

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

StevenR2

Member List

MarkBosley
StairCounter
tonyCuck
ctallos
Jeremy Lew
TboneToo
thomas_schmidt
George2
Jonas.S
Rattlerr
Fille
krhoover
XNA Rockstar
MDesigner
Jim Perry
Jym
CWeeks
erikkl2000
BenjiSmith
RMooreFL
Only Title

StevenR2's Q&A profile

  • Commerce Server Can I rename a Commerce Server Site?

    The name of the site I'm building has changed, and so I need to rename the site in the Commerce Server Manager. How can I accomplish this. i'm aware I'll need to change all references in the web.config for the site, but in particular, how can I change the name of the site in the CSM Thanks, Dave Hi Dave, If you download the site configuration tools from my blog post you'll have a proper API-based method for setting those properties: ECHO Creating the %SiteName% application resource SiteConfig.exe %SiteName% %SiteName% /Create:MSCS_Address SiteConfig.exe %SiteName% %SiteName% /Update:s_ProgidPUP="Commerce.AddressPuP" SiteConfig.exe %SiteName% %SiteName% /Update:s_NumberOfServers="1" SiteConfig.ex ...Show All

  • .NET Development Load image column from database into image control

    Hello all, I am using VB.NET 2005, and I have an image from database that need to load into image control in the form. This is what I got so far. 1) strSQL = "SELECT MyImage FROM ImageTable" 2) making connection to database 3) sending sql command to retrieve image from database cmd = new SqlCommand(strSQL,myconnection) 4) myReader = cmd.ExecuteReader() 5) myReader.Read() 6) Load image from DataReader into Image control 'This is the step I don't know how to do it. Please help Thanks very much. I am trying to load an image saved in Access to a picturebox in VB.NET. I tried the first link, which seems like it should work perfectly, but I am getting an error. Dim byt ...Show All

  • Visual Basic Only numbers in a textbox

    Hi is there a way to alow only numbers in a textbox Reagrds alvin Unless you never want to be able to use the control characters such as delete / backspace, arrow keys in the textbox then this code is lacking the additional condition required to handle these. Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If Char.IsNumber(e.KeyChar) = False And Char.IsControl(e.KeyChar) = False Then e.Handled = True End If End Sub ...Show All

  • Visual Studio Team System Custom rule. Add a new problem within the AfterAnalysis() method.

    Hello, I,m writing a custom rule, where a have to collect some information from different assemblies befor being able to check if there is an error or not. (To collect the information the Check(AssemblyNode) method will be called for each assembly node). I wont do the error analysis in the AfterAnalysis() function. The one problem is, that if I add a new Problem to the ProblemCollection within the AfterAnalysis() method, this problem will not be showed in the FxCop output pane. Is there a way to make it work, or is the Check() method the only place where new Problems can be added Thank You. Best regards, Anton Papst Only the Check overloads allow you to return problems. Although y ...Show All

  • .NET Development line ending problem

    Hi, I get data from an oracle database (8i) by filling a dataset. <ds.fill>. When I check the data in Oracle, the lines ends with "0D 0A"(CR/LF). When I check the data received in the dataset, the lines ends with "0D" (CR). This might be the cause of a problem I'am having right now. Does anybody know about why it appens and what can I do to keep "0D 0A" Thanks, Sylvain What is the data type of the column in Oracle Which .NET data provider are you using (System.Data.OracleClient, Oracle's ODP.NET, etc) If you have a simple app where this reproduces, it would help to try both providers so you try to isolate if it's a provider problem, or if it's lower than that, like in the ...Show All

  • Visual Studio How to draw BitMap using Co-ordinates

    Hi, I want draw a image using X,Y coordinates.(Ex- (88,50)(86,49),(87,48)) Can some body give me idea how to draw a bit map using co-cordinates. Thx & best rgrds Roopesh ...Show All

  • Visual Studio Cannot Debug in VS2005

    I cannot launch the debugger in VS2005. I have a solution with numerous projects (1 C#, the rest VB). Whenever I run the solution and hit a break point, I get a message saying that Visual Studio has encountered an internal error. I have sent multiple error reports to Microsoft about this. This also happens when I just try and single step into the solution. Everything in the solutions builds fine and runs fine, until I try and use the debugger. I am running Windows XP (SP2) with a dual-core processor. I read some posts online that recommend setting up your startpage and I did that. I also set the project to run on x86 CPU and I am still having the same issue. Another developer in my environment can debug the exact same solution and the prim ...Show All

  • Visual Studio 2008 (Pre-release) IParameterInspector and Faults

    I've been playing a bit with IParameterInspector implementations in WCF, and I've found them very useful and very cool. That said, one thing that's been bothering me a bit and that I find limiting is that there's no way to know if the operation dispatched on the server side throws an exception/returns a fault, because in such a case the AfterCall() method is never called. While this makes some sense, it makes certain things you might want to do on an IParameterInspector implementation impossible to do, because you can't be sure that AfterCall() will be called. Mostly, this makes things that require "reasonable" assurance [1] that the AfterCall() method gets called impossible. An example of those might be tracing infrastructor that has a ...Show All

  • Architecture WS-Transaction, WS-Coordination in .NET

    Hi, Does anyone know what the state of play is with these standards with regard to implementation in .NET I couldnt find any info on whether they are implemented in WSE 2.0 or 3.0 and there was a post discussing how this could be done with Indigo in these forums at (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=482065&SiteID=1) Im currently on a Biztalk 2004 project and a couple of services i'm building need to work together with a distributed transaction spanning them. Basically if an operation goes through on service A and an equivalent operation fails in B, i need to compensate A and if A fails then B should not even attempt the operation. A and B are unaware of the existence of each other but somehow they need to know about ...Show All

  • .NET Development Where to place the connection string

    Hi, I'm creating a Windows app and was wondering where to put the connection string for all five of my methods In my web apps I've always put the connection string in the web.config file but am not sure where to put it on a Windows app, and also how to reference it from its location. Can anyone please help Many thanks, I have put the connection string into the app.config file within my project like this: <configuration> <appSettings> <add key="myConnection" value="server=localhost;database=MyDatabase;trusted_connection=yes"/> </appSettings> But I can't seem to find the right code to connect to it from my app. In web apps I would use: SqlConnection connection ...Show All

  • Commerce Server How to get access to ImageDataAccess Class or ImageWebServiceAccess class in Max Akbar ImageManagement Module

    Hi, I'm trying to develop Max Akbar's Image Management module. I've created crated imageContex by adding code like this: ImageManagementSystem.ImageServiceAgent ISA = new ImageManagementSystem.ImageServiceAgent(); ISA.Credentials = new NetworkCredential(@"Maciejk", @"password", @"domain"); Uri uri = new Uri(@"http://localhost/KoloCommerceImageManagementCatalogWebService/CatalogWebService.asmx"); ISA.ServiceUri = uri; ImageManagementSystem.ImageContext imgContex = new ImageManagementSystem.ImageContext(); imgContex.Create(ISA); imgContex.RemoveImages(); // in this line I get error. thanks for help in advice. Maciej Koper I've found mistake stupid error. I had old ve ...Show All

  • SQL Server SQL 2005 Express local admin access denied

    I am using a standard installation of SQL 2005 Express installed with Visual C# Express. I have tried several connection strings, have tried connecting different databases, all of which end up giving me access denied for user <machineName>\Greg (Greg is the local admin account for this PC. I found this guideline for connectivity questions (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=362498&SiteID=1), and have gone through it all, posting the answers to questions here. One thing that may be different about this machine is that it is a tablet PC (WinXP Tablet edition) and I am running VMWare Server. I also tried loading it on a WinXP Pro workstation with no VMWare, and have gotten the same results. Any help will be greatl ...Show All

  • SQL Server How to insert records into two tables that references each other?

    I have two tables , A1 and B1 . B1 has a reference key pointing to A1.ID which is a primary key. Now I want to INSERT a record into both table. CREATE TABLE a1 (   T_ID INTEGER IDENTITY(1,1) PRIMARY KEY,   T_Test INTEGER NOT NULL, ); CREATE TABLE B1 (   B_ID INTEGER IDENTITY(1,1) PRIMARY KEY,   T_SID INTEGER NOT NULL REFERENCES a1(T_ID), ); -- A function to get the next primary key value -- Get the next unique key from A1 CREATE FUNCTION [dbo].[getTicketNo] ( ) RETURNS INT AS BEGIN               RETURN (SELECT Max(T_ID) from A1) END I can only insert a record into a table at a time.  and I rely on dbo.getTicketNo() to get the lastest T_ ...Show All

  • Software Development for Windows Vista How to change the wireless network settings from Public to Private?

    I am looking for an API which would let me change the wireless network connection from Public network to Private network. Can this be done Programmatically Thanks I am looking for an API which would let me change the wireless network connection from Public network to Private network. Can this be done Programmatically Thanks ...Show All

  • Visual Studio Express Editions how can i pass data to Excel

    Please can anyone can help The following code works properly in Visual Basic 2003 but not in Visual Basic 2005 Express.         Dim EXL As New Excel.Application()         If EXL Is Nothing Then             MsgBox("Couldn't start Excel")             Exit Sub         End If         Dim WSheet As New Excel.Worksheet         EXL.Application.Visible = True         WSheet = EXL.Workbooks.Add.Worksheets.Add At the last ...Show All

©2008 Software Development Network