all groups > dotnet general > february 2008 > threads for february 8 - 14, 2008
Filter by week: 1 2 3 4
Self-Updating WPF Application
Posted by Tim Haughton at 2/14/2008 4:31:12 PM
What is the preferred method of implementing a self updating WPF app? Is it
still the UAB?
Cheers,
Tim
... more >>
System.Array.Sort on a Class Array
Posted by ShrimpBoy at 2/14/2008 1:27:01 PM
Hi!
I have an array filled with a class that have some properties...
I noticed the Sort method but I don't know how to use it to sort my items...
I have an array filled with object of a class like this...
Person.FirstName
Person.LastName
Person.Special
Person.Comment
I want to sort... more >>
Escape characters in URL in vb.net
Posted by graphicsxp@googlemail.com at 2/14/2008 9:08:07 AM
Hi,
I've got a url that looks like that :
http://www.myurl.net/Drops 10% - News.doc
Obviously to be properly interpreted by browsers, special characters
should be converted (% -> %25 and spaces to %20)
Unfortunately I can't seem to find the right function in vb.net to do
that.... I've tr... more >>
mfc and dotnet version
Posted by RedLars at 2/14/2008 6:57:28 AM
This [1] article describes how a .NET application selects which .NET
framework version to use.
How does an non .NET application (mfc) select which .NET framework to
use when using an .NET assembly?
[1] - http://msdn2.microsoft.com/en-us/library/9w519wzk.aspx... more >>
Connecting to Database
Posted by Miro at 2/14/2008 1:35:32 AM
I cant make heads or tails of what I am missing.
I thought i had the answer to this yesterday but apparently I'm still
missing something.
First I needed to get a copy of northwind database, so I was able to
download it from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0661... more >>
CryptoStream encrypt to MemoryStream problem
Posted by Gasnic at 2/14/2008 12:09:36 AM
Hi,=20
I was doing a proof of concept on encryption and decryption. I tried to =
use the triple DES algorithm with the CryptoStream to encrypt the data.=20
I pass a literal string into the CryptoStream to encrypt the data into a =
MemoryStream. And then decrypt the MemoryStream back. But I a... more >>
My computer
Posted by My Computer - red cross at 2/13/2008 11:59:01 PM
There is the red cross mark near MY COMPUTER icon in Desktop what does it
mean in windows xp.... more >>
Buttons on a web page
Posted by Morton at 2/13/2008 8:37:01 AM
I created a new web page and added a "Cancel" button.
The cancel button is supposed to activate a clicked event.
When I run the page in debug mode using IE 6 with a breakpoint set at the
button_click subroutine and then click the button - nothing happens
Any suggestions as to what I am mi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
opening up a page in a new browser
Posted by Des at 2/13/2008 7:43:40 AM
Can anyone tell me how to open up a page in a new browser. The
exsisting code is.....
<a href="01.aspx"><img src="Images/3.14.jpg"
width="191" height="180" alt="" /></a>
<a href="02.aspx"><img src="Images/3.16.jpg"
width="191" height="180" alt="" /></a>
... more >>
How to customize .Net deployment projects dialogs
Posted by Dhananjay at 2/13/2008 6:24:18 AM
Hi All,
How to customize .Net deployment projects User Interface dialogs? In
other word, lets say, if I want to disable "Disk Cost" button on the
"Select Installation Folder" dialog of my .Net setup, how can I do
that?
Thanks,
Sam... more >>
Are these files virus? Can I delete them?
Posted by Alex at 2/12/2008 4:40:01 PM
Ther are tons of files in the WINDOWS foler of my Winsow XP. They all look
similar. For Example:
KB308304
KB009800
KB476855
....
or something like:
Q123344
Q574485
Q955848
....
What are they? Are they continue to grow in numbers ? How can my PC handle
this if you they continue growing... more >>
Visual Basic dotnet - buttons on a web page
Posted by Morton at 2/12/2008 1:08:01 PM
I added two buttons to a web page. One has 'Causes Validation' set to True -
the othe to false.
When I click the button set to 'Causes Validation' - the expected validation
messages appear.
When I click the button with no validation - nothing happens.
What I expected was that the "Respon... more >>
Connecting to Sql Server 2005
Posted by ann at 2/12/2008 12:10:02 PM
I am trying to get my application (.net 1.1, c#) to run some sp's (sql server
2005). I can finally connect to my db, but when I get to the part that
executes the sp's I get the infamous EXECUTE permission denied on object blah
blah blah....!
When I check the permissions on the stored proce... more >>
Forms in a dll
Posted by Gregory Gadow at 2/12/2008 10:39:08 AM
I have a dll which encapsulates various Crystal Reports functions. When
activiated, the dll presents an interface where the user can select a
report, enter in data filtering criteria specific to the selected
report, then display the report. So far, so good.
When the user closes the interface I... more >>
Application Settings Best Way Question
Posted by Icarus at 2/12/2008 10:36:43 AM
I'm working on the design stage of a very flexible and parametrized
application. It'll hold about 50 to 60 diferent application settings.
Admin users sholud be able to change any application setting to set a new
application behavior.
I won't use app.config since application will be distributed... more >>
Passing Parameters to a Crystal Report with a Subreport
Posted by cdmunoz at 2/12/2008 9:42:03 AM
I've created a report that summarizes a client's record, but then has a
subreport attached that gives historical information.
Okay, here's the issue. I can call this report and pass it the parameters
needed through my .NET program and it works great if only 1 client is
selected. However, ... more >>
accordion control css lost
Posted by danstanhope@gmail.com at 2/12/2008 8:40:57 AM
Hi all,
I have an accordion control that is being dynamically created.
Everything is working as it should, however when I open up a pane and
click another link on the page and then navigate back to the page the
accordion control is on, the selected header CSS is on the wrong
pane.
Has anyo... more >>
Any way to call a method of a class by name?
Posted by bz at 2/12/2008 7:46:24 AM
Hi,
I have the following situation:
a class can be loaded dynamically, and an object can be created from
it (the class implements an interface I know).
The class can have one or several methods which are not defined by the
interface. I don't know their name, but I could know their signature
... more >>
Guidence Please - VB6 Frame Work Studio and VB.Net - Help Help !
Posted by Clonecrp at 2/12/2008 7:26:02 AM
I am Confused.. Please help me put it together
VB6 Frame Work Studio and VB.Net - So how do these all fit in.
Is there a history of Visual Basic and it's equivenent today.. what is old
and what is current?
Help Help !
--
Warmest Regerds
Doug... more >>
Workflow Foundation - useless?
Posted by nightwatch77 at 2/12/2008 6:10:01 AM
Hello, I'd like to discuss with you my concern regarding Windows
Workflow Foundation. I hoped to use it for implementing business
processes in applications and, optionally, to provide graphical
business process designer to application users. But I was greatly
disappointed at what the creators of... more >>
ASP.NET impersonation - getfiles() problem
Posted by float at 2/12/2008 12:40:51 AM
Hi all,
I've got problem with listing files in UNC path. Result is: Access to
the path '\\serwername\path' is denied. I'm using IIS 5.1 on WinXP
Pro. All machines in one domain. Impersonation is on.
web.config:
<system.web>
<identity impersonate="true"/>
<authentication mode="Windows"/>
... more >>
Dynamic filter on Array...!
Posted by Karthik at 2/11/2008 9:40:09 PM
Dear All,
I am using VS 2008.
I have an array of class objects which have 1000 data at time.
I want to filter the records by dynamicaly.
that is, i will give a property name (For ex: StudentName) corresponding
value to find (For ex: "Karthik"), using that i want to filter t... more >>
Dictionary Object
Posted by bhaktisonu@gmail.com at 2/11/2008 9:23:54 PM
how to create a dictionary object ?
how to use it for writing the insert method for multiple tabes having
different properties/ fields.
... more >>
Weird Issue with HttpModules
Posted by Karch at 2/11/2008 8:32:07 PM
I have an assembly which contains 2 HttpModule class that inherit from a
base class. The base class simply provides some common methods - nothing
special. The strange thing is that, even though I only specify one or the
other modules in the httpModules section, it seems that both constructors ... more >>
Zune Download
Posted by GSM1031 at 2/11/2008 2:55:02 PM
I downloaded a song to my computer from Zune Marketplace. The file folder
shows up in the directory, but the actual song does not show up. Help?... more >>
good general web book?
Posted by Keith G Hicks at 2/11/2008 2:43:49 PM
I know this is going to probably sound a bit silly but I'm looking for a
good book (or 2 or 3 if one won't cover it) that goes over basics of HTML,
XML, CSS, Java, ASP, .net, Ajax, PHP, web servers, etc.
I've spent the last 10 years mostly working in the win32 db area (Access,
FoxPro, VB, Delp... more >>
Is it x86 or x64...
Posted by ShrimpBoy at 2/11/2008 1:10:14 PM
Hi!
I'm working with .NET 2005 and Framework 2.0
I'm trying to find if the program currently run on a x86 machine or a x64
machine.
Is there a way to do that?
Thanks a lot!
Fred... more >>
Visual Studio 2008 (Orcas)'s ClickOnce with Firefox
Posted by Carlos Mendonça at 2/11/2008 12:36:12 PM
Has anyone managed to get ClickOnce to work with Firefox? It seems to me
that it still has the same issues VS 2K5 had.
I appreciate any comments or tips.
... more >>
changing string format
Posted by deepak at 2/11/2008 9:04:03 AM
Hi All,
How to convert the 1st format of string to 2nd one in vb.net
1st(datetype string) : "2/12/2008 6:00:00 PM"
2nd(datatype string): "2008-2-12T17:00:00"
note: in 2nd string ,the T is just a alpahbet
Thanks,
Deepak... more >>
Can the Launch link be working similarly to the Install link in ClickOnce?
Posted by Alain B at 2/11/2008 6:56:32 AM
We have two accesses to reach a VS 2005 ClickOnceapplication (reason
is that we need to password protect the first page we give to users):
- One HTTP password protected area.
- One HTTP without password protection.
Since ClickOnce do not support at this time HTTP password, my plan was
to co... more >>
3rd party components in tool bar?
Posted by Khadaji at 2/10/2008 3:40:31 PM
Why don't my third party components show up in the tool bar?... more >>
Advanced Windows Care program
Posted by Martin at 2/10/2008 3:00:01 PM
Does anyone use or know about a program by Iobit called "Advanced Windows
Care Personal"? It claims to be 100% safe. Says it is designed to keep PC
safe, error free and running at top speed. (I got this from a disk which came
from the latest Vista Magazine).
--
Martin... more >>
Trouble with File.Copy
Posted by Jerry J at 2/10/2008 1:19:00 PM
I am using File.Copy(sSrcFile, sDestPath, true); to copy a file to a folder.
This usually works, but somtimes I get this error "Access to 'my destination
file path is denied."
I realize that there must be some process connected to the file that causes
this problem, however, I can always m... more >>
Setup/Deployment package issues
Posted by Matt F at 2/10/2008 11:06:26 AM
When researching how to launch an application at the end of an install, I
found a bit of information but just getting to the examples that I need is
difficult and a little confusing. Note that launching at end of install
should not really be that difficult.
Upon searching I found:
http://... more >>
Need to loop through the letters of the alphabet.
Posted by moondaddy at 2/10/2008 1:03:39 AM
Using c# 3.0:
I need to do a loop and for each iteration I need to call the next letter of
the alphabet. Sometimes this code may only loop 10 times, and other cases
it may loop 100 times.
I need to do something line this:
for (int i = 1; i <= X; i++)
{
Console.WriteLine... more >>
AN INDEPENDENT CLASS BROWSER desktop TOOL for .NET versions?
Posted by wlwlwlwl@. at 2/10/2008 12:05:41 AM
AN INDEPENDENT CLASS BROWSER desktop TOOL for .NET versions?
AN INDEPENDENT CLASS BROWSER desktop TOOL for .NET versions?
Where to get a simple INDEPENDENT CLASS BROWSER desktop TOOL for .NET
versions?
Must I have Visual Studio B.C. ---- 9000 A.D. ? DAMN.... more >>
Microsoft Webcasts SQL Server 2008 Visual Studio 2008
Posted by Kinetic Jump Applife for .NET App Deploy at 2/9/2008 10:40:00 PM
Do want to attend the Microsoft SQL Server 2008 and Visual Studio 2008
sessions at your home PC?. Yes now it is possible. Microsoft has scheduled a
Webcasts for you on SQL Server 2008 and Visual Studio 2008 on February 2008.... more >>
Kinetic Jump Applife for .NET Application Smart Deployment
Posted by Kinetic Jump Applife for .NET App Deploy at 2/9/2008 10:36:00 PM
Would like to know a better way to update your client software in .NET? Do
you think downloading an MSI and installation is old-fashioned? Great! We
are on the same page.... more >>
spacebar question
Posted by Rob Eventine at 2/9/2008 9:14:08 PM
hi all,
is there a way to eliminate a 'space character' (the space bar being
pressed) from the beginning of a line?
eg:
hello
as opposed to
hello
thanks in advance
... more >>
Why Console.Beep() doen't beep?
Posted by Rafael at 2/9/2008 8:07:00 PM
I'm studying C# (I've been a VB developer).
I'm making some tests and I need to use Console.Beep(), but it doesn't make
any sound, no matter if I try it in VS2008 beta or VS2005.
Could anybody tell my some hint abouit it?
--
Rafael... more >>
HTTP.SYS
Posted by Anu at 2/9/2008 6:00:52 PM
Can anybody help to explain the HTTP.SYS
or sending any link which is help full to understand by me
Thanks
... more >>
Would Like to FULLY Remove .NET Framework
Posted by Tiziano at 2/9/2008 10:00:17 AM
Some time ago, I uninstalled .NET 1.1 and 2.0 from my PC and yet Windows
Update keeps on insisting that I need to install Service Pack 1 for .NET
Framework 1.1 and a security update (KB928365) for .NET 2.0.
I went into the registry and manually removed every instance of "dotnet"
that I coul... more >>
VS2008 Reset Window Layout
Posted by Flomo Togba Kwele at 2/9/2008 6:52:57 AM
I've read previous posts about the 'Reset Window Layout' button being
on the Tools > Options > Envrionment page, but the only button there
in VS2005 and VS2008 is 'Reset File Associations'.
Is there a 'Reset Window Layout' button anywhere in in VS2008?
Thanks Flomo... more >>
Crystal Report N server Access
Posted by ykffc at 2/9/2008 6:49:00 AM
I need to develop this application for some users. In simple terms I have a
windows form that allows the user to enter/select some parameters. A button
Click calls a Crystal Report to print.
The Crystal Report must read data from an Oracle Database. I can design the
Crystal Report to acces... more >>
Webbrowser control help....
Posted by jim at 2/9/2008 3:11:18 AM
Has anyone seen a way to read the data stream for a URL being navigated to
by a webbrowser control and edit it (i.e. search HTML stream for and
possibly remove objectionable language for a kid's browser) before it's
displayed in the browser?
I'd also like to know if there is a way to drag a... more >>
What is this Pattern?
Posted by rorybecker@gmail.com at 2/8/2008 4:43:19 PM
I recently some code similar to the following:
-------------------------------------------------------------
Public Delegate Sub IntDelegate(ByVal Int As Integer)
Public Class ParamMenuEventHandlerWrapper
Private mParam As Integer
Private mMethod As IntDelegate
Public Sub New(B... more >>
OracleClient finding Oracle DLLs
Posted by Mike Markiewicz at 2/8/2008 3:03:10 PM
I've developed a working application using System.Data.OracleClient. For it
to run properly, it needs Oracle's client software installed. I was able to
get it to work by placing a few of Oracle's DLLs in the system32 folder.
The computer on which the app will be used does not have the Oracl... more >>
Object Notifications
Posted by Icarus at 2/8/2008 3:00:05 PM
Excuse my lack of knowledge, but I'd like to know how to achieve something
like this.
I have Excel open and I'm working on several money calculations. Money
formats are displayed according my system's money default format. Without
close Excel I go to the Control Panel and make a change to m... more >>
Why "Continue" button is not enabled
Posted by Curious at 2/8/2008 2:19:01 PM
I have two buttons on a form, "Pause" and "Continue".
When "Pause" button is clicked, it should:
1) Stop the background worker;
and, 2) Enable the "Continue" button.
I have the code below to explicitly enable the "Continue" button.
However, it's still not enabled. Anyone can tell me why? ... more >>
Error Report while running BCWipe software
Posted by ErrorReport101 at 2/8/2008 1:37:00 PM
While trying to wipe my computers free space with BCwipe software my computer
generates an error report in the middle of the wipe. I am not able to search
for the file eaither without another error report being generated. Can anyone
tell me how to highlight or copy/paste the log file so I can ... more >>
binding a datatable to a WPF combo is not working.
Posted by moondaddy at 2/8/2008 1:36:47 PM
Using c# 3.5, I'm trying to bind a data table to a combo box, but I cant see
any data in the list. I'm sure the data table has data. Here's my code:
DataSet ds = GetData();
DataTable tb = ds.Tables["tb"];
myCombo.DataContext = tb;
myCombo.DisplayMemberPath = tb.Columns["Name"].ToString();
... more >>
start up in safe mode
Posted by jaydub at 2/8/2008 1:06:00 PM
laptop running xp prof. constantly restarting.pressing f8 and high lighting
disable automatic restart on system failure i get stop message
0x00000024(0x00190203,0x8232c5f0,0xc0000102,0x00000000) anybody help ... more >>
Intellisense not showing values
Posted by Rof at 2/8/2008 8:24:57 AM
Does anyone know why, in the VS 2005 IDE, Intellisense (if that's the
right name) does not show the value of a variable when I hover over
it, about 30-40% of the time, and I have to type it into the Immediate
Window? This is incredibly frustrating - yet another example of what
would be a good MS... more >>
Build failure: minimum required version is greater...
Posted by DavidB at 2/8/2008 6:24:00 AM
I need to modify another programmer's solution, but after grabbing the latest
copy from VSS I get the following build error:
"Specified minimum required version is greater than the current publish
version. Please specify a version less than or equal to the current publish
version."
Searc... more >>
|