all groups > dotnet general > february 2008 > threads for february 15 - 21, 2008
Filter by week: 1 2 3 4
Setting the TabIndex property in VS 2005
Posted by Barry Flynn at 2/21/2008 11:16:01 PM
Visual Studio 2005
I have a vague recollection that it is possible to set an option which
causes the TabIndex property to be displayed on each control.
You could then set the required tabindex number by just clicking on each
control in the right sequence.
The idea was that doing that would... more >>
What are the differences between c# 3.0 and 3.5 and a good book
Posted by Guhanath at 2/21/2008 9:54:00 PM
Hi Everyone,
I am planning to buy C# book. I am bit confused whether to go for C# 3.0
book or C# 3.5 book. Please suggest me some good books on both.
Is there any major difference between c# 3.0 and 3.5?
--
Guhan... more >>
"Pushing" and "pulling" data to and from a web server
Posted by BobRoyAce at 2/21/2008 7:38:48 PM
I am using Visual Studio 2008 w/ VB.NET.
For the database, I am using SQL Server 2005, which is running on a
dedicated server box.
I am creating a WinForms application for a client. It is run on any of
several employees' desktop PCs.
Now, they want to be able to "push" some of the data fr... more >>
CATSTROPHIC FAILURE (WMPlayer Interop)
Posted by Blair Allen Stark at 2/21/2008 7:25:00 PM
The weirdest problem. . .
heres my code:
============================
public enum AudioLookup
{
Artist, Album,
}
public enum CollectionType
{
Audio, Video,
}
public IList<string> ItemList(AudioLookup itemType, CollectionType
collT... more >>
.NET and EventLog Question
Posted by Oleg Medyanik at 2/21/2008 11:28:45 AM
Hi.
I have a question regarding .NET and EventLog.
Our company has two products, each of them is using own Windows Event Log.
The problem is that Log Name usually starts from Company Name Like:
MyCompany ProductName1
MyCompany ProductName2
and log file name is created using first 8 characters... more >>
KB946609 - Doesn't install but Win Update says it did
Posted by Kern at 2/21/2008 10:25:48 AM
I have done the download and install of KB946609 twice now and Windows
Update still says it needs to be installed even though the Update History
shows successful installation. However using IE7 on sites using Silverlight
clearly shows it's not installed since I get messages about it not being
... more >>
adress labels
Posted by secretary at 2/21/2008 10:13:00 AM
How do you create adress labels from a database?
--
Secretary... more >>
Serialization pads to 4K boundary?
Posted by David at 2/21/2008 7:14:05 AM
In a .NET 3.0 app I'm serializing objects to a byte array:
Dim ms As New MemoryStream
Dim bf As New BinaryFormatter
bf.Serialize(ms, obj) ' serialize passed object to
a memorystream
Dim ba() As Byte = ms.GetBuffer ' get by... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
.Net Remoting Server
Posted by GourouDsecours at 2/21/2008 6:04:59 AM
Hello,
I would like to write a .Net Remoting application in VB, but I'm quite
new at this. I've looked for some examples in Google (with query ".Net
Remoting").
In every example I see, the server is a console application. Is it a
prerequisite ? Is there no other way ? I don't really fancy a... more >>
Learning WPF
Posted by guy at 2/21/2008 5:12:00 AM
I am soon to start learning about WPF, from the little I have seen there
seems to be loads of XML to write, is this correct?
Also is there a WPF group similar to .Net Development.Framework.winforms?
Guy... more >>
GridView Tips and Tricks using ASP.NET 2.0
Posted by Ketki at 2/21/2008 2:43:05 AM
Hello Friends,
For GridView Tips and Tricks using ASP.NET 2.0, visit:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=107... more >>
Docs for Microsoft Office 12.0 Access,Database Engine Object Library?
Posted by Paul at 2/21/2008 12:02:50 AM
I'm sure it's just a lapse on my part but I am unable to find any official
documentation for
"Microsoft Office 12.0 Access,Database Engine Object Library"
I have created this C# code so far using Google usenet searches.
Microsoft.Office.Interop.Access.Dao.DBEngine engine = new DBEngineClas... more >>
C#, ADO.NET vs. MS-Access
Posted by MS at 2/20/2008 11:33:46 PM
OK, now, I've climbed far enough up the learning curve to be about where I
was with Access in building data-driven Windows forms but I've seen no
advantage over the old way. Maybe finer-grained security but DLL-hell was
not a real problem before - just give 'em a new MDE and a macro to link t... more >>
MCTS 70-445 exam advices
Posted by Jack_tka at 2/20/2008 9:01:00 PM
Hello friends!
I have been working in MS SQL Server BIDS since last 7 months using IS, RS
and AS. I have now planned to go for this MS certification(exam 70-445) to
increase my confidence regarding the technology, as well as to increase my
market value.
Is there anybody out there to adv... more >>
get windows login
Posted by ChiWhiteSox at 2/20/2008 8:41:00 PM
i have a webapp that needs to get the windows login of a user and maps it to
my roles database.
im using VS2005 and when i run it im able to get it using
Windowsprincipal.Getuser().Name.
but after i put it into production server, (c:\inetpub\wwwroot\webapp ) and
run it on my browser, the... more >>
Visual Studio 2008 Instakk Fails???????
Posted by gate7cy at 2/20/2008 6:11:00 PM
I get the same problem while trying to instal the Visual Studio proffesional
editon ( trial 90 days ) like most people do.It fails always on the same
point:
"Web authoring component"
This problem has many discussions on forums on the web. Many solutions
suggested that work for some but most ... more >>
XAML Syntax to Declare Instance of Private Class
Posted by Jules Winfield at 2/20/2008 3:18:46 PM
I'm designing a WPF user control. Within the C# portion of the class is a
private conversion class:
private class MyConverter:IValueConverter{
....
}
Within the XAML portion of the class I'd like to create an instance of this
class:
<UserControl.Resources>
<ResourceDictionary>
... more >>
Webservices sharing types with client Apps (and BLTs :) )
Posted by Rory Becker at 2/20/2008 2:48:28 PM
I have a businessLogic Assembly (BL) which contains a Type (BLT).
I have a WindowsForms App which uses BL and the Type BLT within it
I also have a WebService which also uses BL and BLT
I would like my WinApp to be able to reference the WebService and make a
call into it that returns list(... more >>
Architecture
Posted by Tom at 2/20/2008 1:18:43 PM
Hello,
I have a Windows form application that currently uses a database local to
the machine it is running on. We are planning on setting this application
up for a multi-user environment, so I would like to change to a 3-tier
architecture application for scalability:
1. My Client
|
... more >>
Accents in e-mails
Posted by IANPOWYS at 2/20/2008 12:06:06 PM
How do I type accents when e-mailing in French ? My 'assigned keys' work in
'Word' but not in Outlook Express... more >>
Architecture Question
Posted by Tom at 2/20/2008 11:49:52 AM
Hello,
I have a Windows form application that currently uses a database local to
the machine it is running on. We are planning on setting this application
up for a multi-user environment, so I would like to change to a 3-tier
architecture application for scalability:
1. My Client
|
... more >>
Path error
Posted by constance at 2/20/2008 11:43:02 AM
I am a student taking an assebly language class we are using Microsoft Visual
C++ 2005 express addition. I installed program in the default location and
donwload the files following the steps of our instructor. Which were to done
load IrvineExamples and libaray files to drive C:\Irvine to use ... more >>
Unable to cast COM object of type 'ADODB.RecordsetClass' to class type 'System.Object[]'
Posted by Scotty at 2/20/2008 7:03:12 AM
Hi everyone,
I am using Visual Basic 2005. My project is in vb.net.
After executing a request on an Access Table, I would like to copy my
recordset into an array as such:
Dim ConnectionString As String =
"Provider=Microsoft.Jet.OLEDB.
4.0; Data Source=c:\myDataBase.mdb"
Di... more >>
Error "... was not expected. There was an error generating the XML document"
Posted by Curious at 2/19/2008 7:01:01 PM
The same code runs fine on my machine. However, it gets runtime error
on a co-worker's machine. The complete error message is:
System.InvalidOperationException: There was an errpr generating the
XML document.
-->System.InvalidOperationException: The type
JointConsole.PrintGenericFilter was no... more >>
Problem calling Win32 API AddMonitor()
Posted by Jostein Leira at 2/19/2008 4:25:26 PM
I'm trying to install a print monitor with a deployment project in Visual
Studio 2008, but I have problems calling theWin32 AddMonitor method.
I have included the monitor dll file in the system folder group, and the
file is present in the c:\windows\system32 folder when the AddMonitor()
met... more >>
Please Help ----- Getting wrong result in C# than VB.Net --- Urgent
Posted by pargat.singh@gmail.com at 2/19/2008 12:58:31 PM
Hi Everyone:
Please help as i need to write some rounding function in C#. i
Wrote one but does not give me correct result. Can some one please
correct me
C# Codes
#########################################################################
dblVal = 1234567.89
private int ThreeSifFig(... more >>
Pop ups
Posted by BrassicaNigra at 2/19/2008 10:25:01 AM
I have an application that uses a link button in a gridview row to open a new
window to collect some data and save it to the database. This works fine on
24 out of 26 computers in our shop. Two of the computers do absolutely
nothing when I click this button. One of the problem machines is r... more >>
Streets and Trips 2007: error message
Posted by pablo at 2/19/2008 9:17:03 AM
I was using my S/T 2007 fine, but two weeks ago i tried to run again and
appear an error message> "Error 1706 No valid source could be found for
product Microsoft Streets & Trips 2007. The windows installer cannot
continue".
Appear another message that say: "insert the disc and press continue... more >>
is this too tricky?
Posted by Rob Eventine at 2/19/2008 9:11:23 AM
hello
i need to know if the folowing can be done.. (and an example would be
very nice lol )
if i have a drop down table of 20 plus items, do i need to have 20 plus
pages ( pain to have to do each one by hand )
or
can i use the drop down list datatable (?) to generate a single page ... more >>
serializing test objects
Posted by kkarre at 2/19/2008 3:50:17 AM
Hi all,
We decided to clear the test db more frequently and I was asked to serialize
som
test objects to make sure our unit testing continues to work after clearing
the db.
Does anyone have any advice on how to implement this?
I've decided on BinaryFormatter because I want to save private ... more >>
Pause when dragging dockable windows in VS2005
Posted by Weeble at 2/19/2008 2:56:32 AM
Whenever I drag a window that is in the "dockable" state by its title-
bar, Visual Studio locks up for several seconds before the window
starts moving. Then, even if I've already let go of the mouse button,
the window leaps to the current mouse position (not the position where
I let go). I've st... more >>
How to handle connection error in asp.net
Posted by Chetana at 2/19/2008 12:40:58 AM
Hi All,
I have one asp.net application in which connection gets expired after
some time on my server actually i m thinking on how the connection
gets removed because after some time I m getting error as
Can't find table
which gets after some time automatically .
If anyone has any idea ... more >>
Sql Query for finding count of records which have say firstId=1 and SecondId=1
Posted by Chetana at 2/19/2008 12:31:01 AM
Hi All,
I want the query in sql which gives count of records for 2 conditions.
Say i have table Category which has CategoryID and SubCatID as 2
columns.
Then suppose i want count for the records which has CategoryID=1 and
SubCatID =1 .
But I have SubCatID field as comma separated means it ... more >>
Windows Media Player Freezes Because
Posted by knicky7 at 2/18/2008 10:41:01 PM
I am using Windows Media Player 10. I found that it only freezes when I am
using video files of the sizes 720X544. Files of 624X352 do not freeze up
and play. If you right click on the file and check properties the larger
files freeze and smaller do not. These are the only ones I checked. ... more >>
Threading... Where to start?
Posted by Scott M. at 2/18/2008 7:06:35 PM
Any suggestions on a good place to begin learning how to work with threads
and multi-threaded applications?
Thanks.
... more >>
VS Professional - Crystal Reports
Posted by Miro at 2/18/2008 5:39:53 PM
I was wondering if someone who has purchased VS 2005 Professional if they
can let me know if the crystal reports is embedded on one of the cd's or if
the box comes with crystal reports as an extra cd installation.
Im looking at a vs 2005 prof used copy and a listing of the cd's:
Visual Stu... more >>
WPF screen refresh problem
Posted by Griff at 2/18/2008 5:13:38 PM
Hi
I have a WPF application (VS 2008; .NET 3.5) which has several tab controls
and listViews.
When I start the application, it start in normal "window" mode. I can click
between the Tabs and it's reasonably responsive.
However, I've made the window resizeable.
The bigger the window ... more >>
ms money 2005
Posted by Maxie at 2/18/2008 4:28:01 PM
I am trying to import my data stored on a flash drive to my new computer,
same version of ms money. I get error messages that it is a read only file
or I don't have access to it.
Can anyone tell me how to do this?... more >>
SOA
Posted by Scott M. at 2/18/2008 2:47:15 PM
As I begin to really look into SOA and get it straight in my mind that SOI
doesn't mean SOA, I've begun thinking about a simple example and am
wondering how it might be best set up as an SOA.
Can those, in the know, comment on the following scenario:
Let's take a simple scenario where a us... more >>
Formatting raw XML?
Posted by clintonG at 2/18/2008 1:51:42 PM
I'm using the XmlTextWriter but see no way to format raw XML like this:
<rss version="2.0" xmlns:cf
="http://www.microsoft.com/schemas/rss/core/2005"
xmlns:media="http://search.yahoo.com/mrss"
xmlns:dc="http://purl.org/dc/elements/1.1/">
Is it possible... more >>
Write COM component in C# 2.0
Posted by bz at 2/18/2008 1:21:47 PM
Hi,
I need to write a COM component in C# (VS 2005)
I created the C# class library project, marked it "Make Assemble COM
visible"
I set the assembly to be signed with a key file.
The class contains a single method, as below:
namespace MyPlugin
{
public class MyClass
{
p... more >>
ASP.Net State Service Won't Start
Posted by Jeff N at 2/18/2008 12:01:25 PM
Having a problem starting the ASP.Net state service on my local machine.
Whenever I try to start it, I get the following (taken from the event log):
The ASP.NET State Service service terminated with the following error:
The requested service provider could not be loaded or initialized.
Using... more >>
Rundll error
Posted by newatthis at 2/18/2008 10:00:04 AM
I have windows xp sp2 home edition. Ie6.
When I start up my computer I get the following error:
error loading C:\winnt\system32\tguurwvi.dll "the specified module could
not be found"
I recently had Nortons 360 installed. Also had problems with my IE. I had
IE7 but the tech support said it w... more >>
Deploy app silently
Posted by Tim Kelley at 2/18/2008 9:58:36 AM
I have created an application and I would like to deploy it silently. I am
using a file share to accomplish this. Is there a switch I can use on the
command line that is run to do this?
Thanks.
... more >>
How can be access ftp folder without entering credentials
Posted by smartgal at 2/18/2008 9:51:15 AM
Suppose I have create a 1 folder named "Anj" on any server.i have
given usen name password for it.now i want to access it through Ftp
in
one link like "ftp://....../Anj". But then i can not access this
folder without giving the credentilas name .I'll have to enter each
time these credentilas to... more >>
Data error DataGridView DataGridViewComboBoxColumn
Posted by QSIDeveloper at 2/18/2008 7:49:03 AM
I am trying to do what I think is a very basic binding operation. I have a
DataGridView with 2 columns. The first column is bound to Northwind db
Region and the second to Territories. When the form loads I get a Value not
valid exception on the Territories column. The error only occurs if I... more >>
facing problem in programming(update fields in tables)
Posted by Dhananjay at 2/18/2008 1:16:27 AM
hi all,
I am facing problem in programming.Can anybody please let me know how
to solve the problem.
I have a link, clicking the link opens a page in which there are some
data which is coming from different tables(join realtionship). And
some data has to be inserted in that page(textbox)
In thi... more >>
Network Adapters
Posted by Martin at 2/17/2008 3:14:00 PM
In Device Manager under Network Adapters, nearly all (about 20) items have a
yellow warning symbol. The first item, Microsoft 6to4 Adapter says driver is
up-to-date BUT says "This device is not working properly because Windows
cannot load the drivers required for their device (Code 31). Simila... more >>
Automated Windows Update disabled ATI AIW card
Posted by Richard Bird at 2/17/2008 2:29:01 PM
Hello,
I have an issue with the recent Windows Automated Update disabling my ATI
All-In-Wonder video capture card in Windows XP. Then when I reload the ATI
software, the card works until the next Automated Udate disables it again.
I have temporarily deactivated the Automated Update feature due... more >>
Dynamic loading DLL files
Posted by Arek at 2/17/2008 1:13:08 PM
Hi,
I'm porting application from C++ to C#. This application has several plugins
(DLL files). All plugins are using same interface (IPlugin) and have
function which returns pointer to this interface. App checks specified
folder on start, loads all DLL files into memory and creates collectio... more >>
Transparent window
Posted by Arek at 2/17/2008 1:11:54 PM
Hi,
I'm creating application in .NET 3.5. I'm going to create splash screen with
"blurred transparency" - something like transparent title bar in Aero Glass
in Vista. Is there any easy way to achieve this? How to do that? Or maybe
how to get bitmap of desktop lays below my window?
Is there... more >>
Arithmetic Overflow (Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)) occurres for SINGLE client
Posted by mats__johansson@hotmail.com at 2/17/2008 12:29:04 PM
Hello everyone!
I=B4m struggling with a strange problem. I have built an application in
asp.net 2.0 and it works for all users but one. This particular user
gets an arithmetic overflow directly after passing the login.aspx. I
have tried different startpages but the error still occurres.
(prob... more >>
Urgent Help required - ProcessStartInfo Hangs. Please help.....
Posted by Ravi at 2/17/2008 9:13:00 AM
All,
I have two smart client application and i am trying to invoke those two from
C#.NET windows application project. Below is the sourc code.
public void processexec(String URL)
{
try
{
System.Diagnostics.ProcessStartInfo psInfo = new ProcessStartInfo();
psInfo.FileName = URL;
ps... more >>
Server Controls
Posted by I am Sam at 2/16/2008 3:54:00 PM
In a composite control with child controls, how do you fire an event in the
parent(root) control so that a child control does something. Do I need to
bubble an event?... more >>
Does WebClient Keep Connection Open?
Posted by Jules Winfield at 2/16/2008 3:40:45 PM
Dear Friend,
My WPF client application makes use of a proprietary HTTP-based API via the
WebClient class. It needs to make a large number of calls to this API. Each
call must be made in succession. At no time is more than one call being made
at the same time. Each call instantiates a *new* ... more >>
array of structures to unmanaged memory
Posted by DLI at 2/16/2008 12:07:10 PM
I tried a similar post in interop and got a blank stare.
Can ayone tell me how to pass an array of structures which contain arrays of
blittable types to unmanaged memory?
This syntax does not work:
Public Declare Sub SomeDll Lib "SomeDll.dll" ( ByRef MyStructure() as
SomeStructure, ByRef ... more >>
Creating a Web Site and publishing it
Posted by Rafael Soteldo at 2/16/2008 10:13:00 AM
Hi there,
I'm a newbie in .NET Web development. I created a Web Site using VS2005,
then I press Start Debugging (F5), it works fine, I can see my page in
Internet Explorer 7.
The issue is: I try to access this page from another machine via the
internet, since a don't have a domain name, ... more >>
One or more e-mail messages cannot be sent - Vista and McAfee
Posted by russloar@verizon.net at 2/16/2008 3:06:31 AM
I had no problems with my Desktop, but got this same problem others
have reported when setting up my laptop, and so many folks said just
dump McAfee and use another anti-virus program.
I found out what was causing the problem on my laptop by comparing
Windows Mail settings on both machines.
... more >>
Using MS Access DB: dependencies?
Posted by nagar@community.nospam at 2/15/2008 8:42:52 PM
I would like to use a MS Access database to store data for a .NET 2.0
application. Do I need to distribute MDAC or extra runtime files with
it?
Thanks,
Andrea... more >>
Breakpoints not working in VS 2003 using VB.
Posted by Lost In The Woods at 2/15/2008 4:11:01 PM
I've seen a ton of posts about similar problems, but none of the solutions
were effective. I've been maintaining this VB code for 3 years, and this is
the first time this has happened. It seems that the first one or two
breakpoints encountered trigger, but after that, none of my other breakp... more >>
opening an application from another application in the same solution
Posted by BillE at 2/15/2008 9:49:48 AM
I have a solution with two windows forms projects in it.
I would like to be able to execute Project B from a button or menu in
Project A.
How can I do this?
Thanks
Bill
... more >>
Classic asp and .aspx pages
Posted by anon at 2/15/2008 9:02:05 AM
We have a web application developed using classic asp running IIS 6.0 and
Windows 2003 server.
There is a link to an .aspx page(developed using VS 2005) which displays a
report using the Crystalreport veiwer control.
How do we deploy the .aspx page as part of the same application?
Th... more >>
Problems with mshtml.dll after installing VS2008
Posted by Jean Paul Mertens at 2/15/2008 8:07:59 AM
Best all,
After installing VS2008 I have following error:
Windows form application, using .NET 2.0 and using the HTML viewer in some
windows:
a) In debug mode there is no problem, application runs well on my local
machine.
b) when I deploy using One-Click and my clients upgrade there sit... more >>
how to avoid file download?
Posted by fixertool at 2/15/2008 6:36:30 AM
I made a little app in vb.net. Just some buttons for calling other
apps. I mean: when I click a button, the action requested is to launch
directly another program.
Locally works fine. But when you try the same thing via tsweb, the
target program is not launched, but appears the typical download
... more >>
Performance tools
Posted by warfi at 2/15/2008 4:49:33 AM
Anybody out there can please help me out finding some performance
measuring tool for a .net application built in version 1.1.
... more >>
|