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

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

jrcdude

Member List

LORDTEK
chuckdawit
maulikk
JamesPang
George Waters
pc0416
Chaitanya Vempati
Beth31
Hooper
Babalicious
GregAbd
jbattat
Doobe01
hasfad
Geetha SG
Donaghy
Webstar
BLytt
Simon Telling
&#59;lkj&#59;lk
Only Title

jrcdude's Q&A profile

  • Visual Studio Team System SQL2005 Connection Issue

    Hi, I have installed (Visual Studio Team Edition for Database Professionals)CTP7 and I am having problems connection to my SQL server. I have not insalled any previous versions. I  have tried to start a new Project using the SQL 2005 Wizard, I connect & test the connection to the db, although when I hit finish I receive 'An error has occured connecting to the server' etc Error 26 Error Location sever/instance specified' I am baffed as to what is going on. The server in question has been my dev server for some time, and I have not had any problems connecting to it. Has anyone got any ideas I have tried both Windows(with Admin Rights) & SQL(sa) authentication. Thanks! stylli   ...Show All

  • Windows Search Technologies Add / Remove documents in Lucene dotnet search engine

    Hi All, I'm working on Lucene desktop search. I'm using C#.NET. I want to update lucene's index and for that, am using "IndexModifier". I'm able to update my index but it'll not reflect the changes made in index. And at the same time index is being corrupted. Can anyone tell me, how to update index Its urgent Regards, Vikas Kumar   Vikas, Are you trying to use Lucene in conjunction with Windows Desktop Search cheers, Ed ...Show All

  • Visual C# How export a gridview to excel using c#

    How export a gridview to excel using c# thanks! there are a couple of options, unfortunately for us since its WinForms based, there is apperently an easier way to do it in ASP.NET if we were using ASP.NET in order to help better, could I ask - how are you populating data into the datagridview Are you entering it manually or have you databound it from a dataset, using a DataAdapter to fill the dataset with records ...Show All

  • Visual Studio 2008 (Pre-release) Svcutil - July CTP - Metadata contains a reference that cannot be resolved

    Hi, I just wanted to try some sample code and generate the proxy with svcutil. The service is self hosted and I'm running into: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>SvcUtil.exe http://localhost:80 01/Weather/out:proxy.cs Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Copyright (c) Microsoft Corporation. All rights reserved. Attempting to download metadata from 'http://localhost:8001/Weather/out:proxy.cs ' using WS-Metadata Exchange or DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Copyright (c) Microsoft Corporation. All rights reserved. Error: Cannot obtain Metadata from http://local ...Show All

  • Visual C++ Error C2440 -- Visual Studio 2005

    I am getting a compile error for the following statement in my code const CString gc_bstrKey = L "rep" ; The error got is as below error C2440: 'initializing' : cannot convert from 'const unsigned short [15]' to 'ATL::CStringT<BaseType,StringTraits>' with [ BaseType=char, StringTraits=StrTraitMFC_DLL<char> ] Constructor for class 'ATL::CStringT<BaseType,StringTraits>' is declared 'explicit' with [ BaseType=char, StringTraits=StrTraitMFC_DLL<char> ] But this code compiles fine in Visual Studio .NET 2003 . Why is this happening A further thing to check is the the use of wchar_t support is turned on. In VS2003 th ...Show All

  • Software Development for Windows Vista WWF Persistance Status

    I have a workflow which having a while loop inside that I have an activity called Handle External Event, which will receives inputs from some windows application. When ever inputs come I used start a workflow and load the workflow for current situations. I have situations like, some time I have to hold the current workflow instance (dehydration) and start new workflow instance. WF internally updates the workflow persistence details into Workflow – DB. When ever workflow executes, I have to store the input values into my application database. So I am calling a database call( call to Data access Layer) from my External activity. The problem I am facing is after updating my application database workflow is not at a ...Show All

  • Visual Basic Accessing a User Control

    I am using VS2005, and have built a user control, which has a few labels that I want to fill in as the program runs. The user control is duplicated several times in a panel on the main form, giving it names such as uscPerson1, uscPerson2, etc. Functions that will update some of the information on that control are in a seperate module. From code, I would like to reference the control name via a variable, so that if I wanted to update the label "PersonsName" on user control 2, I could write a generic routine, pass in the number in order to deal with "that control" and then update the text displayed there. I am stuck at trying to make the code think I am talking about a specific control. I thought it would be simp ...Show All

  • Windows Forms Movement through forms

    I am interested in creating a program that tracks an object across a form realistically as if it were on the physical earth. The program would take certain parameters (weight, initial speed etc.) and would track an object across the form. However, would it be better to use direct x for this program Secondly, is there any way of "laying" coordinates across a form that are more detailed and fine than the default coordinates a form takes. Any help is appreciated, though can any source code be in c# if possible. Ben Ben Rich wrote: Secondly, is there any way of "laying" coordinates across a form that are more detailed and fine than the default coordinates a form takes. ...Show All

  • Windows Forms Strange DataGridView Exception

    I have an application which retrieves information from a SQL database puts it in a DataTable object and then loads it into a DataGridView object. My code exceutes fine and does not raise any exceptions. However when I attempt to step out of the function which loads the DataTable into the DataGridView object a DataGridView Default Error Dialog pops up (In my app not VS 2005) and will continue to pop up repeatedly after hitting OK. The text of the dialog box is: System.ArgumentException: Paramater is not valid. at System.Drawing.Image.FromStream(...) at System.Drawing.ImageConverter.ConvertFrom(...) at System.Windows.Forms.Formatter.FormatObjectInternal(...) at System.Windows.Forms.Formatter.FormatObject(...) at System.Windows.Forms.D ...Show All

  • Visual C# Get member value by its name

    Hi, I'm quite familiar with Reflection and types, however I'm not able to manage how to get the value from member's name. Like: namespace MyNamespace { public struct MyStruct { public string MyValue; } public static class MyClass { public static MyStruct TheStruct; } } Now, how can I get the MyValue value, if I have a string like "MyNamespace.MyClass.TheStruct.MyValue" Or if it helps, I can have the "MyNamespace.MyClass.TheStruct" and "MyValue" member name seperated. Thanks, Jan Hi again! Unfortunately, I was not succesful in resolving this. Please if you could kick me to see what the solution is.... Thank you. ...Show All

  • .NET Development How to wirte the Format code (use "K" instead of "000")?

    I want use "K" instead of "000". eg change 1500 to 1.5K, Is there someone knows how to write the formate code in the " ###" float f = 1500; string formatedString = f.ToString(" ### "); Hi, JocularJoe Thanks for your reply! I want to get the exact result, such as f = 499 => 0.499k, is there any idea ...Show All

  • Visual Basic VB6 to VB.Net 2005 Upgrate Error while closing the application

    Hi, We have a VB6 main application which referes some other vb6 dll/ocx projects. We have migrated the main application only using VS2005 upgrade wizard, it upgrade the vb6 application to VS2005 application, the wizard have created inteop for the referred vb6 dll/ocx projects. The upgraded application is running and while closing the application we are getting the error "unhandled exception at 0x660688 (msvbvm60.dll) in DBCenter.exe: 0xc0000005: Access violation reading location 0xfeeeffaa" 1. How to fix this applicaiton error on Close. 2. How to debug the referred vb6 dll/ocx projects from VB.Net Thanks & Regards Mano It’s a little difficult to debug from here ...Show All

  • Visual Studio Express Editions Excel Problem_VBE 2005

    Hi, I am new to this forum. I have an excel sheet with 4 column. I want to check first two columns values,if they are equal then i want to add 3 and 4 columns I want to put this result in 5 the column. any idea thanks Dim XL As Excel . Application Dim xlwb As Excel . Workbook Dim xlsheet As Excel . Worksheet XL = New Excel . Application xlwb = XL . Workbooks . Open ( "TheFilePath" ) xlsheet = xlwb . Worksheets (1) xlsheet . Range ( "a1" ).Select() If XL . Selection . value = XL . Selection . offset (0, 1). Value Then XL . Selection . offset (0, 4). value = XL . Selection . Offset (0, 2). value + XL . Selection . Offset (0 ...Show All

  • Internet Explorer Development Image preview in IE7 does not work

    Hi All, I have an image preview (before upload) on the client side of my web app. This worked in IE6 but fails in IE7. What the javascript does is use the File Upload control to gain access to the path which is then used to set the src property for an img control. The image never displays in the control. Has anyone else seen this behavior, and is there a workaround I have the same problem. I changed the security settings, in Advanced Tab of Internet Options ' Allow Active content to run files in My Computer". It doesn't work!! Any other work around ...Show All

  • .NET Development connection string to connect to a dataset?

    hi, how do i set up a connection string to get a dataadapter to read data from a data set into another datatable SqlConnection conn = new SqlConnection (); // ** connection string ** string selectQuery = "Select distinct ' " + tagValues[2] + " ' * from " + dSet[iDset] + "'" ; SqlDataAdapter f = new SqlDataAdapter (selectQuery,conn); dt[p] = new DataTable (); f.Fill(dt[p]); Thanks. well the data is filled locally in the dataset, so there is no connection needed. you just access the dataset. For example in the sample code, I have bound the dataset to a datagridview control, which will show you the contents of the dataset. y ...Show All

©2008 Software Development Network