|
I have seen a few post on web regarding issues with getting a security update for .NET 1.1 SP1 - KB928366 to install correctly. I can not install it, as a result every reboot I get a Windows Update prompt to install it.
Has anyone had this problem and rectified it.
Thanks in advance.
|
|
|
|
|
Nope, haven't had the problem...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
A verbose Windows Installer log might help you track down the problem. Try setting the registry key described in this KB article[^]. Unfortunately the reason for failure is normally in the middle of the log file: it's followed by logs of all the operations performed to undo the actions that succeeded before the failure occurred. Search for the words 'Action ended'. The failure should appear just above that point.
|
|
|
|
|
Hello
On Windows XP ( maybe 2000/2003 also ) , if a layered window setup with SetLayeredWindowAttributes , when its size changes , the GetLayeredWindowAttributes doesn't work , the function returns false
What should i do to get window's alpha in that case ?
Thanks
Declare Function GetLayeredWindowAttributes Lib "user32.dll" (ByVal hwnd As IntPtr, ByRef crKey As Integer, ByRef bAlpha As Byte, ByRef dwFlags As LWA) As Boolean
Dim a As Byte
Dim Flags As LWA
If GetLayeredWindowAttributes(hWnd, 0, a, Flags) Then
If Flags And LWA.Alpha Then Return a
End If
|
|
|
|
|
Hello
I want each created System.Windows.Forms.NativeWindow run in its own thread
These native windows are message-only windows and created with this System.Windows.Forms.CreateParams :
Sub New()
Dim CP As New CreateParams
'CP.ClassName = "Message"
CP.Parent = HWND_MESSAGE
MyBase.CreateHandle(CP)
End Sub
How can i do ?
|
|
|
|
|
You can specify the procedure/sub in the CreateThread, me thinks. But, I'd be careful about multithreads over form controls since it is not really thread safe...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi All
This is my first ever post in a message board, so hoping for a warm welcome!
I am looking for a way to validate mpeg and avi video files without looking at the extension name. I have validated image files using the system.drawing.image class but I cant seem to find anything in .net 2 framework which will return the file type for a video file.
I would aprpreciate any pointers on this, but I dont know C, or C++
so any code example in C# or VB would be really good.
Thanking you in advance
Rai
|
|
|
|
|
The Video class in the managed Direct Show SDK ( part of the platform SDK now ) will load and play a video. Not sure if just trying to load a video with this class will verify it as being a video, or if you'd need to try and play it.
There's also the Windows Media Player control ( which doesn't require a download ), but then you would absolutely have to set it up to play a file, and you would not be able to tell if it was video or a still image.
Welcome BTW
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am looking for a way to connect to another pc in the domain and then flash a message to them on the remote pc. Windows messenger is disabled. Is there a way to do this in the .netframework or WMI?
any help is appreciated.
Tomcoll67@msn.com
|
|
|
|
|
With the messenger service disabled, no.
You'd have to have another messaging client running on the machine to display the message.
|
|
|
|
|
|
That needs Internet connectivity and does not befit a closed LAN setup right?
|
|
|
|
|
If you have no access to the internet you would not be able to user web messenger. Sometimes, like in my case I have access to the internet, but the block the ports for instant messaging.
Ben
|
|
|
|
|
Hi,
From where i can find the help of Assembly Binding Log Viewer(Fuslogvw.exe)?
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
"English is my second language, so please don't mind if i do some grammatical or spelling mistakes in my messages."
|
|
|
|
|
Easy if you know how to type "Fuslogvw" into MSDN. Like this[^].
|
|
|
|
|
how can i change the legend name ina pie chart if i have 2 categories?
thank you!
jyn
|
|
|
|
|
I have a windows application developed on Dot Net FrameWork 2.0 , on a 32 bit machine(using C#) , I am skeptical if it will work without any issues on a 64 bit machine with the same Dot Net Framework 2.0. Please let me know if my doubt is true. If it is true please let me know the solution.
Happy Programming!
Regards,
Nikhil Pagidala
|
|
|
|
|
As long as you have 32-bit versions of any third-party DLLs installed it should run just fine as a 32-bit application on Vista 64-bit. If you have the code, you can compile it to target the x64 architecture, in which case it will run as a native 64-bit application. The only restriction is that any third-party DLLs must also be 64-bit. You can't mix 64-bit and 32-bit assemblies in one application.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Hi,
if your app uses P/Invoke (e.g. to call native Win32 functions) you may get a couple
of minor surprises, since IntPtr now is 64-bit, so if you want to do arithmetic operations
on it, you need IntPtr.ToInt64(), not IntPtr.ToInt32(); also a lot of P/Invoke prototypes
available on the web are wrong in 64-bit environment, most notably SendMessage and the like
(they should use IntPtr, not int/long/whatever, for wParam, lParam and result; at least
that is how I understood it, I havent used Win64 yet).
|
|
|
|
|
Hi ,
Thanks a lot for the information,
Also if the project is compiled on a 64 bit machine , will it run on a 32 bit one?
Please let me know ,
Thank You ,
Warm Regards,
Nikhil Pagidala
Happy Programming!
Regards,
Nikhil Pagidala
|
|
|
|
|
I dont know for sure, I would expect you compile FOR 32-bit, or FOR 64-bit, and it
does not matter ON what machine you compile.
|
|
|
|
|
Yes, you specify the target platform for the compiler, so the actual hardware doing the compile doesn't matter.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
As Luc said, when you compile you can specify the target platform (64-bit or 32-bit) just like you choose Release or Debug configurations. The actual hardware doing the compile doesn't matter in this case.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Hello everyone,
I've created a WinForms app that uses .NET remoting to communicate with a Windows Service (also custom created using .NET). It works great on every operating system I've tried it on. On one particular Server 2003 Standard system though, the Remoting doesn't work. The client application and service are both running but the communication doesn't seem to work.
I've tried doing the remoting with a TCP connection (tried both ports 60001 and 9250) and an HTTP connection (port 1077) and no luck. The software gave a .NET CLR error and wouldn't run when in HTTP mode.
All I know about the server (it's a customer's) is that it's running Citrix (update: just a Citrix client).
Anyone have any ideas?
Thanks in advance!
-- modified at 15:38 Wednesday 11th July, 2007
|
|
|
|
|