all groups > dotnet general > august 2005
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
C++ compiler and argument passing with prefix operation
Posted by Guru at 8/31/2005 11:34:29 PM
Hi ,
I tried the following 4 line of code and answer is what I never expected.I
ran the code using C++ compiler(MS-Studio .net 03) also in Unix env.In fact
the on Unix i got the correct (or expected answer).
-->
#include <cstdio>
#include <iostream>
using namespace std;
void fn(int, int);
... more >>
Duplicate keys in Hashtable
Posted by shine at 8/31/2005 10:01:23 PM
I am trying to add an integer array to a hashtable.
While adding to hashtable I want to check the duplicates in array, the
way I want to do is add the key(the integer stored in array) if a
duplicate key is being added then the program should return the integer
else it should return -1.
Here i... more >>
Is there an "easy" way to get the hardware parts temperature?
Posted by ThunderMusic at 8/31/2005 6:46:19 PM
Hi,
Is there an "easy" (I mean, with .NET framework and no asm code) to get
the hardware parts temperature assuming there are sensors to sense it? Like
the CPU Core temp or any other parts. I know the temperature of some parts
is available in the BIOS depending on the brand of the motherboar... more >>
Urgent: Can i develop Activex controls in c#?
Posted by SmartGuy at 8/31/2005 6:27:02 PM
hi,all:
The whole thing is : My team is developing some activex controls in VB
6.0. As a new comer, i am quite familiar with .Net(c#) than vb 6.0. So can i
develop ActiveX controls in c#?
And if could, please give more information(How to do ) about these.
Thanks in advanced. ... more >>
.Net Compact Framework and mySQL Database
Posted by den 2005 at 8/31/2005 4:51:09 PM
Hi Everybody,
I am new at this group/forum. I am a .Net Programmer from Manila,
Philippines.
I like to ask anyone who can help me how to use mySQL database in
programming Visual Studio .Net Smart Device Application (.Net Compact
Framework). Specific question is it seems the System.Data ... more >>
Push Deploy?
Posted by JBecht at 8/31/2005 4:16:54 PM
Anyone tried or know what the command line switches would be if I wanted to
Push Deploy .Net Framework out to a few workstations?
... more >>
Multiple File Download Dialog windows with one click
Posted by John Scott at 8/31/2005 3:15:05 PM
I have a situation where I want to bring up two "File Download" dialog
windows to download two separate .xls files.
Is there any way to do this by only clicking on one "Export" button?
--
Thanks In advance,
John Scott.... more >>
Running external app as a child form in vb.net
Posted by Developer in Need of Information at 8/31/2005 1:16:06 PM
Hello,
I have a vb.net application that needs to run a third party foxpro
application.
I can get the vb.net app to run the foxpro app through various methods.
However, what's posing a problem is embedding the external foxpro app into
the vb.net app in an mdichild form. I just can't get that ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Information on Input Button
Posted by Stephen Noronha at 8/31/2005 1:10:43 PM
Hi all,
I have an input button
<input type="button" id="Button2" name="Button2" value="More"
onclick="openPage()">
this input button onclick opens another page.
this "More" button is for additional information only (say I have extra
notes), and if there is none available then it should not... more >>
determine color of selected node...
Posted by hzgt9b NO[at]SPAM nopost.com at 8/31/2005 12:08:01 PM
I want to determine the back color that treeview node takes on when selected...
its some blue value but I haven't been able to determine what it is...
The reason that I ask is that when the treeView looses focus, the selected
node is no longer highlighted.... I want to use this color to mask ... more >>
Reference VS2005 assembly from VS2003 project
Posted by Jody Gelowitz at 8/31/2005 10:20:21 AM
Is this possible?
I have compiled an assembly in VS2005 and am trying to add a reference to
that assembly from my VS2003 project. The error that I am getting is:
A reference to '{path to vs2005 dll}' could not be added. This is not a
valid assembly or COM component. ONly assemblies with... more >>
Form Load -> show form... then do stuff
Posted by Chris Thunell at 8/31/2005 9:38:30 AM
Right now I have a vb.net windows form project that does a whole bunch of
things on the form.load event. The problem with this is that the user does
not see the form until all the those things are done.
Is there a way for a form to be shown first AND THEN have it automatically
start to run... more >>
Using DirectoryInfo Class
Posted by Andy at 8/31/2005 9:21:03 AM
I am trying to use the DirectoryInfo class to create links on a web page to
files in the specified directory. I can get it to work just fine. The
problem I am having is when I try to put in a UNC path, it does not work. It
says it cannot find the specified path. Below is the code I am usin... more >>
wmi core library license
Posted by sw at 8/31/2005 8:18:03 AM
i couldn't find a good newsgroup for this, sorry it this is a bad place...
my question:
i would like to install wmi core library when someone with win98se is
installing my application. i couldn't find a license for wmicore.dll
anywhere, and so can't check if doing this is allowed. does anyon... more >>
FileStream resource locking
Posted by GDL at 8/31/2005 7:13:03 AM
Hi,
I'm using a FileStream as below:
FileStream fs = new FileStream
(
filePath,
FileMode.Create,
FileAccess.Write,
FileShare.None
);
//do some writing
fs.Write(...)
//close
fs.Close();
My problem is that even after the stream is closed no other applications can... more >>
Porting Classic ASP to .Net
Posted by JHowell at 8/31/2005 6:22:03 AM
We have a large web based internal app written in classic ASP running against
a SQL Server2000 database (!00+ tables, up to ten million rows in a dozen of
the tables). We would like to begin a staged port of the application by
applying the 1.1 framework to the database server and then compili... more >>
out of Memory execption
Posted by Ganesan selvaraj at 8/31/2005 2:53:14 AM
I using C# .net. i want to split the text files based of the some condition.
my source text file size may be 4 kb to 4 gb. some time when i split the
i got the "out of memory exception. when i read from the file i read the
10mb and split the this content and clear the buffer and read th... more >>
File format for a new application
Posted by Lloyd Dupont at 8/31/2005 12:00:00 AM
(I know it's a seond post, but I think I explain it better this way)
--
On my own I'm writting an application for the general public.
(a bit like word, except it has nothing to do with word ;-)
So far I used an embeded database engine to store the data (SQLite), I like
the concept because ... more >>
Problem resolving assemblies
Posted by mynab at 8/31/2005 12:00:00 AM
Hello,
I am facing an issue I cannot easily solve. I am writing a non-managed C++
application that I want to be extensible using plugins. The goal is to let
people write plugins in any language they want including C# (but also C++,
Delphi or whatever...). The way I am doing things right now... more >>
Strange Exception!
Posted by Gav at 8/31/2005 12:00:00 AM
Hi all,
I'm getting an exception that says a column does not exist in a table when
it clearly does.
I'm using DataGridTextBoxColumns in DataGridTableStyle and setting the
correct MappingName, if I click on continue on the exception the program
still works as expected. I tried putting in ... more >>
.net & Visual FoxPro error
Posted by V.V. Singh at 8/31/2005 12:00:00 AM
Hi Everyone,
This is my code for making a connection to a Visual FoxPro free table and
querying it.
I get the following error message
File iddxstrippunc.prg does not exist
I have tested the dsn through access link tables and it seems to work fine.
Any help would be appreciated.
... more >>
Dot Net Framework
Posted by thomasp NO[at]SPAM msala.net at 8/31/2005 12:00:00 AM
I have recently written a simple program in VB2005. For the program to work
on a computer the user will have to install the DotNet Framework 2.0 and the
newest version of MDAC. Which of these should be installed first?
Thanks,
Thomas
--
Posted via NewsDemon.com - Premium Uncensored N... more >>
Formattable TextBoxColumn ignoring format...
Posted by Gav at 8/30/2005 10:29:02 PM
Hi all,
I have tried setting the Format of a FormattableTextBoxColumn to "c" to
display the values as currency but it does not seem to have any affect.
Could I be missing something?
Thanks
Gav
... more >>
in C# how do i transform an xml document with an xsl document when my xml document is a string and my xsl document is a string? the msdn examples only
Posted by Daniel at 8/30/2005 5:03:04 PM
in C# how do i transform an xml document with an xsl document when my xml
document is a string and my xsl document is a string? the msdn examples only
show how to do it with steams and files. in my case i have everything in
string
... more >>
Namespaces hierarchically in a tree control
Posted by Richard Lionheart at 8/30/2005 4:08:53 PM
Hi All,
Somebody on the Net must have thought of putting ... maybe with search
capability for method names.
Isn't something like that out there? Sounds to me like a good ,Net Windows
Forms exercise. I'm too new in .Net to undertake it.
Regards,
Richard
... more >>
-- WOW WHO EVER CAME UP WITH THIS IS PURE GENIUS! --
Posted by balone NO[at]SPAM isp.com at 8/30/2005 3:34:49 PM
--! WOW WHO EVER CAME UP WITH THIS IS A PURE GENIUS !--
AS SEEN ON OPRAH! $40K IN YOUR PAYPAL ACCOUNT!
That's Right $40,000 dollars in your PayPal account - IT
WAS PROVEN ON OPRAH, DATELINE, NATIONAL TV & IT'S COMPLETELY
LEGAL!!!
$10 Dollars... That's... more >>
Invoking Web Page
Posted by Brian at 8/30/2005 2:36:14 PM
I am writing a .Net Web application to reset an AD User's password. The user
will hit the first web page, answer a few questions and if their answers are
correct then they will be directed to a web page that will ask them what
password they would like to have their ID set to. On this second ... more >>
Com component and .net
Posted by mdk at 8/30/2005 1:59:07 PM
Hi all,
I wonder if a COM component (eg ActiveX component) can be used on .NET
platform?
What is the difference between .NET component and COM/ActiveX
component?
What is the difference in development process, ie. programming
language, etc.
Many thanks
Timmy
... more >>
Windows Forms & Web Forms
Posted by Coder-X at 8/30/2005 12:12:40 PM
I have a database application and i need to manipulate the database from a
Desktop UI and from a Web Browser ( located anywhere ). What's the best
aproach to do this ?
Thanks,
José Carlos
... more >>
Solution design
Posted by Sorin Dolha at 8/30/2005 11:32:11 AM
Hello,
We intend to create an ASP.NET-based Web application (hosted on Internet
Information Services, or IIS) and one feature of the application needs to
allow the end user to upload photos to the server.
However, our customer requests that both of these two objectives to be
supported by... more >>
Why does try/catch require {}
Posted by John Bailo at 8/30/2005 11:28:56 AM
how come I can say:
if() statement; else statement;
but I cannot say
try statment; catch() statement;
I always have to use {}
... more >>
DLL vs Dynamic Code
Posted by John F at 8/30/2005 10:56:05 AM
Currently I'm working on a C# app for a large organization (700 users
nationwide). This App is still under development. I have setup code in my
App to pull C# source code from a database and dynamically compile it at
runtime. All source code stored in the database will be of Type Form and a... more >>
How to keep Console window open
Posted by Richard Lionheart at 8/30/2005 9:57:18 AM
Hi All,
When I create a Console app in VS.net and run it, the Console window opens
briefly and closes. If I was running a .bat command file, I'd append a
pause stmt at the end. What can I do in VS? I'm a newbie and keeping that
window open would be helpful for studying.
Thanks in ad... more >>
ActiveX
Posted by news.scarlet.be at 8/30/2005 9:44:27 AM
Hi there,
From a VB.NET application, a VB6 ActiveX DLL needs to be used. This
ActiveX.DLL (source not available) has an Announce() method which opens a
socket to a given server for communication purposes.
Problem is the Announce() method does not work from VB.NET - nothing happens
(I can... more >>
Notification from a Console app
Posted by John Bailo at 8/30/2005 9:43:01 AM
Can a Console app manipulate the Windows API?
Say I want a console app to do some work, and then, maybe just popup an
alert to say "finished"?
Is there a way to do that without having to create a Form app?
Do I have alternatives for GUI notification from a console app?... more >>
comboBox_SelectedIndexChanged
Posted by Swami at 8/30/2005 9:37:05 AM
I have 3 comboBoxes and the selectedIndexChanged event for all three call the
same method (ShowCorrectDisplay())....basically, the UI elements change
depending on which element is selected. However, the problem is that when my
form initially loads, the initially selected index of only combo ... more >>
Restricting Debugger Access
Posted by Frosty Madness at 8/30/2005 8:53:45 AM
Does anyone know if it's possible to set a policy in Windows to stop
developers from accessing the debugger?
Frosty
... more >>
VS2005 data access question
Posted by Curtis Conner at 8/30/2005 8:48:13 AM
Hi, not sure if this is the right group - if not please point me in the right
direction
New to vs2005. Trying to build a form using the data objects built by
vs2005. In my data Source window i have a dataset called FlyDataSet which
contains a table called Sales.
I have successfully used... more >>
How solve "Error: The dependency 'xxx.xx.dll, version=1.0.2067.27633, culture=neutral...
Posted by Rob R. Ainscough at 8/30/2005 7:48:47 AM
I keep getting this error message when I build my solution:
Error: The dependency 'xxx.xx.xx, Version=1.0.2067.27633, Culture=neutral'
in project 'xxx.xx.xx' cannot be copied to the run directory because it
would conflict with dependency 'xxx.xx.xx, Version=1.0.2068.11260,
Culture=neutral'.... more >>
Mic/Line-in Caputre in VB.NET (example)
Posted by MHjerpe at 8/30/2005 7:19:03 AM
Seems impossible to find any example in VB.NET that does Audio importing from
Mic/Line-in with the WaveIn... Apis in winmm.dll.
There are load of examples and source code for VB56 and C# but why no for
VB.NET ?
I'm new to this world (VB.NET) so convert VB56 or C# examples is not eas... more >>
DB Concurrency
Posted by Steve at 8/30/2005 5:43:45 AM
Visual Studio 2003 .Net / C# / SQL 2000
I am trying to work out the best way to ensure data concurrency in my
application. All updates and inserts etc are done via stored procedures.
When a user enters a screen i call a stored procedure which returns me a
record or many records and displa... more >>
COM+ and NetworkCredential problem
Posted by surya at 8/30/2005 12:00:00 AM
Hi,
I have a COM+ out of proc service that is configured to impersonate the user
making the call to the COM+ service. Is there a way to create a
NetworkCredential object based on the current thread's security? Using
System.Net.CredentialCache.DefaultCredentials always returns the credentials
... more >>
VB.NET windows application
Posted by Mahesh.V at 8/30/2005 12:00:00 AM
Hi All
I have a VB.NET application, I would like to store the application files
in a machine and share the files, the users from other PC must be able to
run the application using the exe shared in a common machine, rather copying
the application files to their local machines, I have checke... more >>
URL inside a mail produced with aspx
Posted by Antonio D'Ottavio at 8/30/2005 12:00:00 AM
Good Morning,
I want to create a mail using aspx and c# , I need a plain text mail, not an
html mail but I need to insert an url inside it.
I want to know if it is possible to have a link like this
http://ww.etantonio.it but instead of the link it is showed something like
"Click Me",
I know th... more >>
to bulid a intranet application which is best suited,vb.net or asp.net.
Posted by ds at 8/29/2005 9:38:50 PM
hello,
i want to know the difference between vb.net and asp.net in intranet
application.
to bulid a intranet application which is best suited,vb.net or asp.net.
i want to know the performance difference.
ds
... more >>
Member declaration
Posted by Tom at 8/29/2005 7:12:09 PM
If a class member is declared as
Public Shared Function foo(ByRef a As aObject, ByRef b As Integer) As
Integer
are references a and b at risk of collision (overwrites) even though
they are passed by referece?
... more >>
Internet connection detection
Posted by ThunderMusic at 8/29/2005 4:19:17 PM
Hi,
probably the question have been asked many times, but I can't find the
answer anywhere. Is there a way to detect if an internet connection is
active? just like Internet explorers detect you are offline when you try to
open it when not connected (then asks if you want to connect or work
offl... more >>
Blank text dialogs during deployment
Posted by dwaine at 8/29/2005 2:07:02 PM
I HAVE done this before, but can't figure this out. It's not critical, just
an annoyance.
Added RTF files to a standard deployment project, then "Read Me" and
"License Agreement" dialogs and set their file properties.... but
I get blank dialogs during install!!!
Any ideas?... more >>
Problems indexing Catalog..
Posted by Michel Moreno at 8/29/2005 2:02:56 PM
Hi everybody, i would like to query the Index Catalog, for a site, as
describe in the article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;820105
But i'm having an error, I don't know what to do.
Please help me.
Thanx in advanced.
Michel
Here is the error.
Server Error in '/' ... more >>
Master Pages Vs Page Inheritance
Posted by nLella at 8/29/2005 1:52:47 PM
Hello,
I am trying to implement page templates in my web application.
I am using frame work 1.1. Can you suggest me, if I have to go with Master
pages(dll developed by asp.net team) or use page inheritance instead?
any help will be appretiated.
Thanks... more >>
|