|
Thank you for the reaction but i didn't use intellisense.
|
|
|
|
|
The process described by the other person is what was used to create the VB.NET .DLL you received. From what you described, he told you how to test the process. Creating another test .DLL doesn't fix the problem.
From what you described, it sounds like the person who wrote the VB.NET .DLL didn't expose the properties you were trying to get to as Public.
|
|
|
|
|
Hello everyone,
When using Visual Studio to add a Web Reference to an https web services, it is fine. And I just need to click to accept some security warning message box.
But when using wsdl command line tool to retrieve the same web services, there is something wrong. Here is the output. Any ideas?
wsdl https:
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.3038]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: There was an error processing 'https://127.0.0.1:8080/SystemMonitor?wsdl'.
- There was an error downloading 'https://127.0.0.1:8080/SystemMonitor?wsdl'.
- The underlying connection was closed: Could not establish trust relationship
for the SSL/TLS secure channel.
- The remote certificate is invalid according to the validation procedure.
If you would like more help, please type "wsdl /?".
thanks in advance,
George
|
|
|
|
|
George_George wrote: https://127.0.0.1:8080/SystemMonitor?wsdl
What happens when you access it via browser? I think the error message is clear, isn't it?
|
|
|
|
|
Thanks N a v a n e e t h,
I have tested the well known security warning box displayed and I can select yes to trust the connection and WSDL is displayed.
My question is from command line, why it is not working? Any solutions?
regards,
George
|
|
|
|
|
Hallo all,
I'm using c# and visual studio 05 and I'm rendering in a webBrowser control to render .doc, .xml and mht documents( all from ms word). So the browser shows the document allong with ms word's tools, like coment inserting etc... Is there way to control the document. For example, can I apeear only the first page of the document (some kind of paging)? Also can I get the table of contents and table of figures of the document?
Thanks!!
|
|
|
|
|
how can I write a plugin for IE browser that can handle an specific format? I know how we can write a toolbar for IE, i only have problem with Plugins.
|
|
|
|
|
I haven't tried it. But this[^] looks similar. MSDN[^] also has an article, but it is on VC++.
|
|
|
|
|
Hi,
For a sportevent I need to make to calculate the overall time after each round an this for 15 rounds.
The input and output timeformat is "HH:mm:ss:ff" because I need the millisecond precision.
Maybe it's a stupid question, but I can't figure out how I can do this. Is there someone who can tell me how I make the sum of 2 different times. so I can start from that point.
thanks for the advise.
grtz.
w
|
|
|
|
|
TimeSpan has Add method. Have you checked that?
|
|
|
|
|
You should parse the string into a timespan object
TimeSpan roundOneTime;
bool success = TimeSpan.TryParse("00:12:34.67", out roundOneTime)
You can then easily add the multiple timespan objects together to get your total.
(The format required is "HH:mm:ss.ff" (it's a . not a : before the milliseconds, so you'll either need to parse the string and change it first, or change how the strings are built up.
Simon
|
|
|
|
|
|
Hello,
How to get the different OS names which are used in users system. Like OS is XP or Vista.
How can I get users operating system is XP or Vista when I am using windows programming?
Reply..
|
|
|
|
|
Use WMI to get the details. Read about ManagementObjectSearcher class.
|
|
|
|
|
Try System.Environment.OSVersion
|
|
|
|
|
Add System.Management.dll as Reference
using System.Management;
ManagementObjectSearcher searcher =
new ManagementObjectSearcher("root\\CIMV2",
"SELECT * FROM Win32_SystemOperatingSystem");
foreach (ManagementObject queryObj in searcher.Get())
{
Console.WriteLine("PartComponent: {0}", queryObj["PartComponent"]);
}
cheers,
Abhijit
|
|
|
|
|
|
Hi,
I need to store a Date, which is in String format, into MS Access Table
where the C# is used as front end...
Can anybody provide me the Sample code for the same Date string is in "dd/mm/yyyy" format...
Thanks in Advance
|
|
|
|
|
Use DateTime.TryParse on your string to convert it into a date and time, then store it in your database in UTC format.
|
|
|
|
|
Don't forget that when storing a date string in Access it needs to be prefixed and suffixed with "#".
Just because we can; does not mean we should.
|
|
|
|
|
I am developing a ticketing system in C# where working hours are from 8:00am to 1:00:pm and from 3:00pm to 6:00pm
How can I check if the engineer was working on the ticket after working hours? And how can I check if part of his work was after working hours, let’s say he started working on the issue at 5:00pm but he closed on at 8pm so he has worked for 120 minutes after working hours.
Note: I have a field for ticket_openned and another field for ticket_closed
|
|
|
|
|
You just have to compare the time intervals to each other.
Make the process of comparisons into a simple process of comparing a single condition at a time. Start by checking if the ticket started and ended within the first part of the working day. If not, check if it ended before or started after. If not, check if it started before or ended after, and calculate the time outside that part of the working day. If any part of the ticket is after the first part of the working day, do the same comparisons against the second part of the working day for that part.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
well, i wish it was that easy
what if the engineer worked on this issue from 11am to 1pm and from 2pm from 8pm
so noon time he worked for 60minutes during non working hours (from 2pm to 3pm) and after 6pm he worked for 120minutes so he worked for total 180minutes.
how can i check that?
|
|
|
|
|
hello forum
i am spliting a string into parts on the occurance of characther a by using split method like
string a = "advanced";
string[] b = new string[10];
b=a.Split('a');
but by this method i m losing character a from the string array
it is returning
b[0]=
b[1]=dv
b[2]=nced
i want to get
b[0]=a
b[1]=dv
b[2]=a
b[3]=nced
can any body help me
regards
rahul adya
|
|
|
|
|
Unfortunaltely thats the way split works, you need to write some looping code to do what you require. Have a look at string.IndexOf
Hope this helps
Bob
Ashfield Consultants Ltd
|
|
|
|