Software Development Network Logo
  • Visual FoxPro
  • Windows Vista
  • Visual C#
  • Smart Device
  • Architecture
  • Visual C++
  • Microsoft ISV
  • VS Express Editions
  • .NET Development
  • Visual Basic
  • SQL Server
  • Visual J#
  • Windows Live
  • VS Team System
  • Game Technologies

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

Habbit

Member List

zeeomar
Shan0315
frstOne
Mario Esposito - MSFT
OB
Muthu Annamalai
Abdul Quadir Amin
YGO
Adrien Regimbald
ArthurDent
Dmano
Richard Bysouth
lianaent
NewDeveloper83291
Bideldotnet
Super Iain
Zizhong
Gastronomen
lest
Prof_CRM
Only Title

Habbit's Q&A profile

  • .NET Development signedxml and XmlDsigExcC14NTransformUrl

    Can anyone do this line of code in .NET 1.1 and have it work. <code> signedXml.SignedInfo.CanonicalizationMethod = signedXml.XmlDsigExcC14NTransformUrl </code> .NET 2.0 the signedxml does have the Exclusive canonicalization algorithm.  While .NET 1.1 signedxml does not.  So how do I get around this.  Given that .NET 1.1 only provides an implementation of Inclusive XML Canonicalization, I guess, you'd need to use that ( I realise the characteristics are different ) Gudge ...Show All

  • Smart Device Development Question on listview (re)population - performance issue

    Hello, I'm new to UI programming in general, and smartphone UI programming in particular. I have a  question relating to performance of listviews. I have a listview object that has around 200 items with 2 columns each. Displaying this takes quite a while when I test it via the emulator (unfortunately I don't have a WM 5.0 device to deploy to and test on) -- to the order of almost a minute before the listview is displayed the first time when run via VS. Also, my code switches between 2 different lists based on a hotkey being pressed. The second list has fewer items and displays fast, but whenever I clear the listview and reload the firs ...Show All

  • Visual FoxPro HOW TO GO TO SECOND PAGE OF RTF OLEBOX

    I am experimenting a form with OLE box containing RTF Text. The content of this is from a memo field. I copied this screen from the Samples\Solutions\Ole TEXT.SCX My question is : When I open the screen, HOW DO I GO DIRECTLY LET'S SAY TO THE MIDDLE OF THE MEMO FIELD WHICH IS THE SECOND PAGE OF THE BOX. INITIALLY IT GOES TO THE FIRST CHARACTER OF THE MEMO FIELD THAT IS DISPLAYED. Kindly help and thank you for your previous help extended. Thank you and God bless you. Rolly You can use SelStart or Find("some text to find") followed by SelLength = 0. ...Show All

  • .NET Development DLL SECURITY PROBLEM

    hi, I've a problem in my soap based application. There are some dll files which were downloaded and added in my dll list. Now the problem is there's an error popping out which is related to the security. i even gave FullTrust to the downloaded dll files and still the problem persists.Since the dll file is not accessed theres a problem in database connectivity.The Connection status is alwalys closed and im not able to Open it. The Full Trust for the files were given using .Net Configuration 1.1 and even caspol was used. if anyone has got the solution then do send me the reply Exceptions thrown are : Additional information: System.Web.Service ...Show All

  • Visual Basic Basestream.seek

    Hi, I need to read lines backwards in a TXT file with a fixed length for every line. I'm using Dim linetxt As String Dim counter as Integer = -56 'Which is the length of the lines Dim data_r As New StreamReader(data_path) 'data_path contains full path and name for the file data_r.BaseStream.Seek(counter, SeekOrigin.End) linetxt = data_r.ReadLine And this produces good results for a first reading. But last two lines are inside a loop where the counter is decreased everytime to get the previous line. Once the first reading is done, subsequents readings are wrong as Seek is moving the pointer in the Bas ...Show All

  • Visual J# how to import org package in J#

    how to import org package in J# . should i download any package for that VJ# supports only a JDK 1.1 level library, which doesn't contain any org packages. See the following page to know which packages, classes, methods etc. are supported by VJ#. http://www.ujihara.jp/CodeTips/VJSharp/en/jslibrary.html ...Show All

  • Visual C# Reading Serial Port

    Hello, I am trying to talk to an  Aglient device via C# through a RS232 connection on my PC with  XP OS and I am having trouble. I can send a command, such has a query (*IDN ),  and I never get a response in my GUI. However, if I  open hyperterminal the device IDN shows up in hyperterminal like it should have showed  up in my GUI.  From my C# GUI, I can sent a cammand to the device to change voltage level and the device changes voltage level as I can see it on the device display.  However,  when I send a query to the device,  I expect to see data &nb ...Show All

  • Visual Studio Express Editions executing functions from a string at run time

    So I made a module with a list of functions that make my life easier. I am expirimenting with this sort of thing, and I am trying to make a little command line sort of thing to be used at run time. My question is: Is there a way to execute internal functions like the ones I made by typing them into a text box at run time (and clicking a button or whatever) I'm looking for something like: Execute(command.text) Thanks! There's the scripting object for VBScripting, or there is the VBCodeProvider Class (There's a C# one, too) which allows you to compile and Execute VB code. However, this may not be exactly what you are looking ...Show All

  • Visual C++ IAddrBook::Address mapi problem

    Hi, I am 'fixing' some poorly written MAPI code. Mostly because the MAPI wasn't being unintialized and realeased properly, also a lot of the code was not checking properly the return values from the MAPI function calls. I have a problem though with the IAddrBook::Address method. The original code was as follows:- if(FAILED(hResult = lpAdrBook->Address(&hWnd, &adrparm, &lpadrlist))) {  // report error cleanup and exit } else {  // continue with other code } But after reading the online MSDN articles it does not mention using the FAILED macro and that the HRESULT should be checked against S_OK for success only ...Show All

  • Visual J# Smart Client Deployment

    Hi, i’m new on Smart Client Deployment. I now that there are new things on .net 2.0, but i’m still working with version 1.43. I’m trying to publish on a IIS a Windows Forms executable made obviusly on .Net. Everything works fine on the client side until i use some J# dll and i get the following message... java.lang.NullPointerException: Referencia a objeto no establecida como instancia de un objeto.    at Etelecom.Programas.wconexion.E17V9F2()    at Etelecom.Programas.wconexion.keyEventDispatch(Object eventSource, Int32 keyCode)    at com.genexus.ui.runEvent.run() Any idea..... Thanks in advance... XAvier. ...Show All

  • Visual Basic HTML Editor in Visual Basic - HELP

    Hello everyone and anyone who is reading this. I would like to know how to build an HTML editor in Visual Basic. I really dont know where to start. If anyone could tell me how, or tell me what I need to know, any help would be very appreciated and will not go unrewarded. Thank you. wf.service@sbcglobal.net How detailed of an editor do you need   Do you want something that just allows users to type in HTML and save it to a file (e.g. a text editor)   This could be as simple as creating a single form with a rich edit control on it and save button.  There are also many free HTML editors with source code online.  For ex ...Show All

  • Windows Forms DataGridView inserting records

    I am looking for an event in the datagridview, tableAdpater, etc.. that I can use to add a record to the database.  Current, my table adapters insert command is set to a sproc.  When a user enters a new row in the datagridview, what event should I use to exec the insert command   I am using the UserDeletingRow event to prompt the user for deletion verification, followed by exec the delete command which execs a delete sproc (I pass the e.row.cells["primaryKey"].Vaue): this .c_request_itemBindingSource.EndEdit(); this .c_request_itemTableAdapter.Delete( Convert .ToInt32(e.Row.Cells[0].Value.ToString())); I tried the UserAdd ...Show All

  • Windows Forms - MaskedEdit and validation questions please

    - Do we have in VB windows forms anything similar to Page.Isvalid that we have in .Net framework: I have a form with a Save button and MaskedEdit controls. I want to enable my Save button only if all the masked edit controls have valid values from the user. My questions: - Do Maskededit controls have any “valid” property that we can check once the user fills and if the test succeeds I enable my Save button - Or does the form have a general “IsValid” property which is set to true if all the MaskedEdit controls receive valid values according to their masks (like page.Isvalid in .Net framework) ...Show All

  • Windows Forms Clickonce: Publish

    Hi, Clickonce deployment works fine for Server to Client updates (Checking updates on client) ...I would like to know what if I want to release the new product updates to server's where clickonce files are published Do I have to go for product like Installshield updater service or can Clickonce handle this Any Ideas Regards YT If you want to update the product, create a new deployment with a new version number. The new deployment will be using the same URL so that the client can detect updates from the server. Deployment provider in the deployment manifest is where ClickOnce checks the updates from. If you want ClickOnce ...Show All

  • Visual C++ .NET compiler error (static cast)

    Hi, I am doing a porting to 64 bit(VC++ 6.0 -> VC.Net) now. and encounter this problem. Please help me if you know the solution BEGIN_MESSAGE_MAP(CAADlg, CDialog) //{{AFX_MSG_MAP(CAADlg)   ON_BN_CLICKED(IDC_A, OnA)   ON_BN_CLICKED(IDC_B, OnB) //}}AFX_MSG_MAP END_MESSAGE_MAP() bool CAADlg::OnA() { ... } void CAADlg::OnB() { ... } Compiler error message: c:\Works\VC.NET\...cpp(179) : error C2440: 'static_cast' : cannot convert from 'bool (__thiscall CAA::* )(void)' to 'AFX_PMSG' So the problem is exist when the return value of the function is bool. Does anyone know the solution Your help will be highly appreciated. Than ...Show All

©2008 Software Development Network