all groups > dotnet general > october 2003
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
.net framework problem
Posted by Lowin at 10/31/2003 9:38:43 PM
i get a message stating framework problem when desktop
is loading says (repair Redist.htm).also when i go online
my home page is small and i have to click my max to
inlarge to get full screen.not sure if it ia related to
the frameworking problem. recommends to fix
problem. ... more >>
code access security
Posted by Chris at 10/31/2003 8:19:47 PM
Hi,
when an assembly is loaded by the runtime does the runtime check the
evidence of the assembly. Then depending on the evidence does it assign the
assembly to a codeGroup. And finally, depending on the permission sets
assigned to the Codegroup (the assembl belongs to) is it allowed (or not) ... more >>
I want a GNU Search Engine
Posted by john bailo at 10/31/2003 7:06:41 PM
I microcrap is buying Google --
then I want a GNU search engine !
( Cant that decrepit creep keep his hands off of anything ? )
... more >>
Computer name, domain, user names,...
Posted by Ondrej Sevecek at 10/31/2003 5:36:24 PM
Hello,
there were Win32 API functions suchs as GetComputerName(), GetUserName(),
NetUserEnum(), NetDomainEnum(), ...
Where are those functions available through .NET framework?
Ondra.
... more >>
strtok
Posted by Ondrej Sevecek at 10/31/2003 5:13:19 PM
Hello,
some function which could parse string into tokens the same way the C
function "strtok" does?
Ondra.
... more >>
NetComputerEnum
Posted by Ondrej Sevecek at 10/31/2003 5:07:47 PM
Hello,
there is "NetComputersEnum()" Win32 API function. Is there any equivalent
of the function provided under .NET Framework? This function calls on
"Browser Service" to obtain computer names.
Ondra.
... more >>
FTP with C#
Posted by Victor at 10/31/2003 4:48:19 PM
Is there anyway to send files via ftp using a method other than
sockets in C#. I know there are the wininet api commands, but I really
cannot find or think of another method.
Most of the examples I have seen on the net regarding C# sockets
require a server app as well as the client app, but ... more >>
Calling C++.NET code from C#.NET code
Posted by David Elliott at 10/31/2003 4:06:56 PM
I have source code for a 3rd party product. The product is written for traditional C++. There
was a VS .NET Solution File that was provided for compiling the DLL.
I have compiled the code using the VS .NET 2003 C++.NET and am now trying to build some
demos to test the features.
My quest... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Microsoft chart Control
Posted by Jasper Recto at 10/31/2003 3:35:06 PM
Is it possible to find Microsoft's Chart Control (MSChart.OCX) Active x
component and beable to use it in VB.Net 2003? Where would I find this
particular control?
Thanks,
Jasper
... more >>
Async and Enterprise Services
Posted by Dave at 10/31/2003 2:22:34 PM
I'm using the BeginInvoke method of a delegate to invoke
a thread asynchronously and then use the EndInvoke to
retrieve the value. This works wonderfully until a
Serviced Component is added to the mix. When the
Serviced Component is invoked with BeginInvoke, the code
hangs for the durati... more >>
How can I use response.binarywrite and frames?
Posted by Vinay at 10/31/2003 2:20:13 PM
Hi All:
I have a frameset (right and left). In the left frame I have a listbox that
contains items. When the user clicks on any one of these items (each item
points to either a word document or an image) - I'd like to show this (image
or word document) in the frame on the right. Would anyone h... more >>
Collections in a custom class
Posted by Rick Palmer at 10/31/2003 1:33:47 PM
The code below is a class I am creating in order to help facilitate a
generic "data layer" assembly. Anyway, as you see the RecordCriteria class
contains three hashtables, and a structure called RecordCriteriaItem. I
want to be able to use a for each loop to loop through the values in the
hash... more >>
Passing If Typeof...Is...X as a parameter
Posted by AlexB at 10/31/2003 12:02:39 PM
I have a sub routine that performs an operation on all of
the controls on an ASP.NET page using the If TypeOf..Is X
statement. I want to pass the class, X, in as a
parameter. Is this possible?
Sub(byval x as ???)
For i = 0 to Controls.count -1
If Typeof controls(i) Is X then
'Do so... more >>
LinkButton
Posted by Ken Saganowski at 10/31/2003 11:41:58 AM
Does anyone know how to get rid of the default underline from the
linkbutton? In one project the underline appears on a "mouseover" event and
in another it appears the entire time.
The Font.Underline property is FALSE. Is there a setting somewhere?
Any advice would be greatly appreciated.
... more >>
How to run a exe file
Posted by Ray Woodard at 10/31/2003 11:02:21 AM
I have web application that gets a self extracting exe
file from an FTP server. I get it downloaded and stored on
local HD just fine. Now I need to run it. It runs fine
from Windows command line.
I created a dotNet process object to run it. The process
apparently starts. I can get a Proc... more >>
how to define function pointer in C#
Posted by ZhangZQ at 10/31/2003 10:38:16 AM
if there is a function in a win32 dll, it is definition is
int add(int a, int b);
how to define that function pointer in C#?
thank you very much!
... more >>
Dynamicaly load and call a function in Win32 dll
Posted by ZhangZQ at 10/31/2003 10:32:12 AM
Is it possible to dynamicaly to local and call a function in Win32 dll(not a
..net assembly dll) in C# at run time, for example, a C# program popup a
dialogbox to let use input which Win32 dll to be loaded, which function to
be called, and what are the parameters to call the function.
Thank ... more >>
New Data Connection in Visual Studio.NET project
Posted by kmiller at 10/31/2003 10:02:10 AM
When I attempt to create a new Data Connection (SQL Server
database) through my .NET project (via the Server
Explorer), I get the following error message:
ADO Error: '
[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not
exist or access denied.'
I have admin rights on the machine... more >>
Application crashes ignoring try{...}catch{...}
Posted by Alexey Kouzmitch at 10/31/2003 10:00:09 AM
Hi,
I wrote a console application which is called from a SQL Server job. The
application utilizes a COM object, to pump data from a legacy (not very old
however) application to SQL server. The application works fine, but once in
a while it fails with the following message written to the event ... more >>
VB CurDir() what is C# function
Posted by Dave at 10/31/2003 9:40:12 AM
In VB .Net I can get the current directory using the
CurDir() function. Does C# have a similar function. Or
how can I discover the current path in C#?... more >>
Max number of projects in a solution
Posted by rollasoc at 10/31/2003 9:31:00 AM
Hi,
One of the chaps in my department has just spent almost 3 days trying to
solve an issues of an unhandled exception on startup of an application we
are writing. The exception culd not be traced since it appeared to appear
at random points in the startup.
His solution has 13 projects in ... more >>
Response.Redirect
Posted by Kerri at 10/31/2003 9:00:40 AM
Hi,
I have do some Redirects in my applitcaion.
For example, when the use rhas logged in successfully I
redirect them to a different page.
In my Redirect all I was doing was a..
Response.Redirect("SomePage.aspx")
When I used above I got below error.
2) Exception Information
****... more >>
SQL Tables to Objects guidelines
Posted by dkode NO[at]SPAM cfl.rr.com at 10/31/2003 7:29:46 AM
I have a quick question.
I am redefining a monolithic application i made when I was first
getting into dotnet and have a question about OOP architecture.
I laid out all my objects and came along one sql table that is a
lookup table, but it is used to lookup values in more than one other
tab... more >>
Re: OT dns component
Posted by John Doe at 10/31/2003 1:41:18 AM
Might help if i furnish the addr:
http://dev.myplaceinspace.com/nettools/
"John Doe" <postmaster@127.0.0.1> wrote in message news:...
> I recently developed a dns querying class and would greatly appreciate it
if
> some of you running around here might check it with a couple of unique
> ... more >>
OT dns component
Posted by John Doe at 10/31/2003 1:39:48 AM
I recently developed a dns querying class and would greatly appreciate it if
some of you running around here might check it with a couple of unique
domains and see if it breaks. Should you get a error message that was not
expected please reply with the error and how to reproduce it here.
Than... more >>
how to get the mac address in a win98 computer using .net?
Posted by cch at 10/30/2003 8:57:47 PM
i'm using c#
the ManagementObjectSearcher seems dont work in win98... more >>
Thread.Sleep...
Posted by news.microsoft.com at 10/30/2003 7:16:43 PM
Hi,
Currently I have a thread thats spinning and doing a
Thread.Sleep(someTime).
I was thinking of changing this to Thread.Sleep(Timeout.Infinite); then
when I have actual data in a collection to process in this thread, I was
going to do a _thread.Interrupt(); Would this be a better a... more >>
Have you distributed a .Net application?
Posted by Jim Hubbard at 10/30/2003 6:11:45 PM
Have you distributed a .Net application? How about one to the general
public?
I am writing an application that I had rather do in .Net, however, the
20+ MB dotnetfx.exe worries me. What about potential users on 56k modems
(still almost 50% of internet users in the US alone)? Do they... more >>
Calling .ASP pages
Posted by Joe Reazor at 10/30/2003 5:08:54 PM
I know you can't use Server.Execute to call an ASP page, so I have tried
using the HttpWebRequest and HttpWebResponse objects to do so. The trouble
is that the asp page that I need to call is password protected. When I call
GetResponse on the HttpWebRequest object I get the login page that a no... more >>
strange error not cought by try...catch...
Posted by Alexey Kouzmitch at 10/30/2003 5:01:20 PM
Hi,
I wrote a console application which is called from a SQL Server job. The
application utilizes a COM object, to pump data from a legacy (no very old
however) application to SQL server. The application works fine, but once in
a while it fails with the following message written to the event l... more >>
Pass Datagrid Data To Parent Form
Posted by cksj at 10/30/2003 4:36:21 PM
I have a link on my web app that opens a pop-up window. In the pop-up
window, the user can search for policy information. The result is displayed
on a datagrid. The datagrid has 1 hyperlink column and 3 bound columns. When
the user clicks the hyperlink, it passes the data of the hyperlink to the
... more >>
are crypto classes supposed to work on w2k?
Posted by Gregory L Priem at 10/30/2003 3:32:22 PM
i have been unable to get any of the classes in the
System.Security.Cryptography namespace to work on my w2k machine, so i
created a vmware session starting from scratch, to remove any possible
external issues. [when run on winxp, no exceptions are seen]
setup: w2k pro with sp4 plus .net 1.1 r... more >>
location.replace
Posted by brian at 10/30/2003 2:02:34 PM
Is there a way to use location.replace in code behind?
The code below will work for a window.alert but not for
location.replace.
For example:
Private Sub Page_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
Button1.Attributes.Add("on... more >>
Using Delegates (More Info)
Posted by Billy Jacobs at 10/30/2003 1:31:55 PM
I forgot to capitalize the line causing the error. It is:
printer.PrintCallback(10)... more >>
Using Delegates
Posted by Billy Jacobs at 10/30/2003 1:25:00 PM
Can someone tell me what the problem with this code is.
Specifically the line in all caps near the bottom. I am
getting an error on this line saying:
"Property Access must assingn to the property or use its
value".
When I do that I get a different error saying:
"Expression does not prod... more >>
How can you recognize a carriage return? simple question
Posted by gunayb NO[at]SPAM xpandcorp.com at 10/30/2003 1:00:47 PM
Hello,
I am trying to parse the following bounced email to
get the email adress
"Your message
To: klshad903409@cnn.com
Sent: Thu, 30 Oct 2003 11:05:05 -0500
did not reach the following recipient(s):
etc..."
I am having a hard time getting the correct domain
name because it seems... more >>
Painting a textbox Border--the Answer
Posted by talm NO[at]SPAM report-software.com at 10/30/2003 12:37:00 PM
After spending a morning wading through all the the Wrong answers and
responses I have figured out how to change the border on a textbox.
Here is the code:
Declare Function ReleaseDC Lib "user32" Alias "ReleaseDC" (ByVal
hwnd As Integer, ByVal hdc As Integer) As Integer
Protected Over... more >>
Intellisense not working
Posted by Stefan Kronberg at 10/30/2003 12:32:02 PM
I'm working on a solution containing about 20 projects. Some of the projects
contain class definitions that are used in other of the projects. Most of
the time intellisense is working ok, i.e. if I work with objects declared
from my own classes intellisense will show me all alternatives (methods ... more >>
display wait message in webform
Posted by deepblue at 10/30/2003 12:18:15 PM
Hi,
How to display a "Please wait" message in a webform when
the webform is doing processing? The processing is
initiated by user clicking a button.
Thanks,
Deepblue... more >>
MSChart
Posted by Jasper Recto at 10/30/2003 11:05:54 AM
Hello,
I'm a beginner programmer. I'm trying to make a simple chart using MSChart
active x control. I have a spreadsheet with 2 colums of data, I want to
create a 3D bar graph. How do I create the chart using the spreadsheet?
Thanks,
Jasper
... more >>
Set IP Address from .NET
Posted by Zoltan Hernyak at 10/30/2003 8:50:27 AM
Hi,
My problem is, that how can I write a .NET application, which sets the
IP address, netmask, DNS servers, and other properties of a specified
network card on a Windows XP?
zoltan... more >>
oledbprovider vs odbc provider ???
Posted by serge calderara at 10/30/2003 7:09:57 AM
Dear all,
Does any one have any idea why an sql statment with INNER
JOIN syntax is working well with odbcprovider but not with
Oledbprovider when accessing an access 2000 database?
here is the code I have used with oledbprovider which fails
Dim monodbc As New
OleDb.OleDbConnection 'Od... more >>
file access win srv 2003
Posted by Buz at 10/30/2003 5:57:41 AM
I have a site running fine on my development machine
running XP, but when I ported the site to run on my win
srv 2003 I get access errors. Specifically, the system is
not allowing asp.net write access to
c:\windows\microsoft.net\framework\v1.1.4322\tempoary
asp.net files
identity imper... more >>
Converting Strongly Typed Datasets
Posted by David at 10/30/2003 5:53:37 AM
Can you convert a strongly typed dataset to another typed
dataset if the schemas are identical?
Thanks in advance for any insight.
David.... more >>
Paul Weller is On Virgin Radio's Ogg Stream
Posted by jbailo at 10/30/2003 5:33:33 AM
and it sounds GREAT !!!
http://www.virginradio.co.uk/thestation/listen/ogg.html
OGG
OGG
OGG
!
!
!
... more >>
Longhorn Gold Now Available
Posted by jbailo at 10/30/2003 5:13:51 AM
Microsoft -- in an effort to stem
declining contract, pre-announced
a new product: Longhorn Gold.
Unlike Longhorn, Longhorn Gold is
dry and leafy.
"We realized that nobody was buying
Longhorn's marketing pitch. But once
they started smoking Longhorn Gold,
it all made sense."
Long... more >>
dotnet failes
Posted by jbailo at 10/30/2003 4:52:31 AM
c# = visual basic 4
it's just as stupid,
but with a lot of
'programmers' who think
its real 'c'
fools
... more >>
Formatting log files ???
Posted by Serge calderara at 10/30/2003 2:00:16 AM
Dear all,
I am using the Tracing possibility in order to log errors
or user message in a log file.
Depending on the error return, especially for exception,
message can be difficult to find out afterward in the log
file becasue of huge information.
Is there a simple way or claas to use... more >>
SmtpMail - inline images
Posted by Sergio at 10/30/2003 1:35:46 AM
Hi,
I know how to use SmtpMail to create and send a mail
message in text or HTML format. I always use the URL to
the location of images on the server to include those
images in my mail body.
However, recently I was asked if it is possible to use
inline images, included (as attachmen... more >>
Source code !?
Posted by dam at 10/30/2003 1:07:19 AM
Hi,
since there are tools that can decompile assemblies and
show ENTIRE SOURCE CODE (!?) is there any way for
developers to protect their work ?
Or, is famoues .NET framework just for companies who sell
their source code. If this is true - it is unbelievable
childish !
... more >>
|