Software Development Network Logo
  • Visual Basic
  • Windows Forms
  • Audio and Video
  • Windows Vista
  • Visual C#
  • VS Team System
  • Microsoft ISV
  • Visual C++
  • SQL Server
  • IE Development
  • Smart Devicet
  • Game Technologies
  • SharePoint Products
  • Visual Studio
  • Visual FoxPro

Software Development Network >> adwins04's Q&A profile

adwins04

Member List

SB1
Puspak
tdtdtd
chakravarthy_b
James Holmes 747
acf
Angel Lara
Bijal Modi
Giminiani
Artur Shokin
DragonVic
marchrzan
Jakein2006
m.shuhrat
Jim Ward
Smallmaj
J Ma
Kohl.Mike
devinr
Balu Vasudev
Only Title

adwins04's Q&A profile

  • Gadgets Attaching a ActiveX event to javascript

    Hi I created some nice ActiveX component and now I would like to use events. To test my current implementation, I tried to sink the event in VB6, which worked perfectly. This was the code I used in VB6: Private WithEvents Test1 As GeizhalsForumWatcher.GeizhalsForumWatcher Private Sub Form_Load() Set Test1 = New GeizhalsForumWatcher.GeizhalsForumWatcher Test1.SetCredentials "4066", "nvhf76jh" Test1.Start End Sub Private Sub Test1_OnGeizhalsForumDataChanged() MsgBox ("sdafsd") End Sub The messagebox fired just as expected. Now I would like to get this behaviour into my Javscript part. If the event fires, I'd like to call some method. My main problem now is that if I use: .... forumWatcher = n ...Show All

  • Visual C# Dynamic Property Page creation - web app in c#

    Hi, I am new to dotNet, i am developing a sample application, ASP.Net WebApplication 2005 and the coding part i am doing in C#. In the Default.aspx i would like to create a Property Sheet, And number of pages(tabs) in this property sheet should be dynamic. User enters a value say 4 then 4 Pages should be in the Created when submit button is cliked. I would to know how can solve this problem. What i have in mind is have a System.Windows.Controls.TabControl() then add items to it in a loop. How can it be implement as a web control using C# Any code snippet,suggestion,Ideas ...... regards, Alex You need Web control not Windows one. Take a look at MS ASP.NET Ajax and Tabs Control form t ...Show All

  • Visual Studio crystal reports 9.x compatibilty with Windows Vista

    Unable to gauge out whether Crystal Report 9.x is reqd as minimum or absolute in Windows Vista if not then which version is required as minimum and/or absolute in Vista Thanks and Regards Luv Walia Microsoft Vista issues with Crystal Reports 9 RDC. Below please find my work around. The problem:Visual Basic 6.0 crashes when adding the Crystal Report Designer 9. One work around: Design reports using Crystal Reports(not within VB 6.0 IDE) Add a reference to the Crystal Reports 9 ActiveX Designer Design and Runtime Library. Add a Crystal Reports Viewer Control 9 Component to your VB 6.0 tool box. In the General Declaration Section add the following code: Option Explicit ‘ mTest = Crystal Report Application Obj ...Show All

  • Visual Basic How can I check a value in Registry?

    Hello I use this code to get values from Registry: Dim MyKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( "Software\A\B" , True ) Msgbox MyKey.GetValue( "Key" ) But if subkey Software\A\B doesn't exist, I get error. How can I check whether if subkey Software\A\B exists or not Thanks If I wrote: Dim MyKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( "Software\A\B" , True ) If MyKey = Nothing Then I get error message. And If wrote: Dim MyKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( &quo ...Show All

  • .NET Development How to change the default algorithm of the Calender web control

    Hello Profissionals , I want to include the Calendar Web Control (based on UmAlqura algorithm) in my web page. I did the following: (using Visual Studio.Net 2005) 1- Dragged the calendar web control form the web control tools and dropped it in my form. 2- In the web page’s culture property, I selected the “ar-SA Arabic ( Saudi Arabia) ” 3- When I run, I get the web page with Hijri Calender But This calendar doesn’t represent the UmAlqura Calendar; I think it represents the Kuwait calendar. My question is: How can I make the Calendar Web Control use the UmAlqura algorithm instead of the default one Please direct me as soon as possible... Thanks ...Show All

  • Visual C# how to set the system time using WIN32 API Dll calls?

    hi all, i have written a code for setting the system time. the server will send the time to the client and that time is collected at the client side and the new time is set in the client side... server side code: using System; using System.Collections.Generic; using System.Text; using System.Net.Sockets; using System.Collections; using System.Net; using System.Timers; using System.Threading; namespace Server { class Program { static ASCIIEncoding ASCII = new ASCIIEncoding (); static Byte [] outstream = new Byte [256]; static TcpListener tcpl = null ; public Program() { } public static void Main( string [] args) { tcpl = ...Show All

  • Visual Studio Express Editions Visual C++ runtime error + MSN

    I recieve this error when I launch MSNOS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\MSN\MSN corelfiles\msn.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this question and problem. Your assistance is greatly appreciated. Currently, I am using IE as my back-up web browser. Hello For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

  • Visual Basic Full Socket Methods...

    This is in relation to my last post, 'Chat Clients in VB'. After much searching of the help files and online content, I haven't been able to find a full socket method example in VB. This is annoying as I cannot learn how to structure the socket class i need to write... Can anyone help me, have a website link or have a file which has a full socket method that can be sent to me so that i can learn the structure. Thank You, Nick Rawe Also, This is covered in the "vb 101 samples", available for download from msdn. You can access it here: http://msdn.microsoft.com/vbasic/downloads/code/101samples/ ...Show All

  • SQL Server SharePoint "Set server defaults"

    Hi guys, I have a problem when configuring SharePoint and RS on two boxes. (If install everything in one box is fine) I have SQL SP2 + RS in one server and SharePoint on the other server. I've followed every step in the SQL 2005 Online Book to configure the RS and SharePoint including: How to: Install the Windows SharePoint Services Object Model on a Report Server Computer. (Done) How to: Configure Service Accounts (Reporting Services Configuration). (Done) However, I got an error when click "Set server defaults" in SharePoint Central Admin: An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. In ReadMe of SQL S ...Show All

  • Visual FoxPro How to set File handle in Windows XP

    I'm using foxpro 2 application. Is there anyone able to tell me how to set up the number of files handle in Windows XP. DOS o/s: I can put "Files=100" in config.sys Windows ME o/s: I can put "Pervmfiles=100" under [386Enh] in system.ini. Windows XP o/s : How to do Thanks. Under XP default files = 40. XP uses autoexec.nt and config.nt files located in windir\system32. You can either change that one or set it specifically for a program in its PIF. ...Show All

  • .NET Development View .NET controls source code

    Is it possible to view the source code of the default .NET components, such as the Button...and can i modify such code to make the default button a little diferent ....i know i can customize it as a custom control inheriting the button class, but i just wanted to know if this is possible Michael Koster wrote: The .NET Reflector can be found here: http://www.aisto.com/roeder/dotnet/ No, you cannot change the Microsoft supplied implementations. You could use what you learn from .net reflector and rebuild the entire class though :( ...Show All

  • SQL Server Using declare statements and converting dates

    I am having some issues trying to get a date into the right format. Here is the statements I am using DECLARE @Month INT , @Year INT , @Day INT , @Date VARCHAR ( 10 ), @FirstOfMonth SMALLDATETIME , @SecondDt SMALLDATETIME , -- Lst day of Previous Month @FirstDt SMALLDATETIME , -- 1st day of Previous Month @8mnthOldDay1 VarChar ( 10 ), -- 1st day of 8 months ago @8mnthOldDayLst SMALLDATETIME , -- Lst day of 8 months ago @13mnthOldDayLst SMALLDATETIME --Lst day of 12 months ago SET @Month = DATEPART ( MONTH , GETDATE ()) SET @Year = DATEPART ( YEAR , GETDATE ()) SET @Day = 01 SET @Date = CONVERT ( VARCHAR ( 4 ), @Year )+ '-' + CONVERT ( VARCHAR ...Show All

  • .NET Development System.net Ftpwebrequest FtpWebResponse BUG ????? (Error 530 Not Logged in)

    Hi, I'm trying to connect to an Apple OSX Tiger ftp server to get a list of files, and I always get the "ftpwebrequest The remote server returned an error: (530) Not logged in" error, I have tried to use it with a Windows 2003 Ftp server and works like a charm. Public Function ftpDO( ByVal serverUri As String , ByVal path As String , ByVal xUsername As String , ByVal xPassword As String ) As String Dim retStr As String = "" Dim responseStream As System.IO.Stream = Nothing Dim readStream As System.IO.StreamReader = Nothing Dim Request As FtpWebRequest Dim Response As FtpWebResponse Try Request = CType (WebRequest.Create(serverUri & path), FtpWebRequest) Request.Credentials = N ...Show All

  • Windows Forms Draw PNG-image on the form

    I'm using VB.net (.Net 2.0). How to draw a png image file on the form by clicking a button I would like to set the cordinates (x, y) but the image size should be the original of the file. I would like to view the png files as transparent (as they originally are). When clicking the button set a global boolean to true (i.e LoadImage), then call Me.Refresh(). On your form event called Paint do the following Private Sub frmMaint_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint if (LoadImage = True) then e.Graphics.DrawImage("C:\myimage.png", New Point(100, 200)) end if End Sub Untested, should work. Regards, Luc Pettett ...Show All

  • Smart Device Development Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate

    Hi All, I need to connect a new device to my computer, and I cannot use activeSync to debug it because it has no usb or com outlets. I manged to connect it by LAN and pinged it successfully. So i wanted to use my lan connection and work by it on the device. The device cpu is "Alchemy au1550" I followed the instructons from this forum : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=447917&SiteID=1 and noticed that conmanclient2.exe that i used from the mipsii folder exited immediately, the one from the mipsii_fp folder got stuck at the command prompt. I assume that neither is compatible with my cpu. does anyone know where I can get a compatible version Thanks, Yariv Kimchi ...Show All

©2008 Software Development Network