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

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

chaza

Member List

Mzladybug
dustinto
Vaish
buckenn
noob_vber
Tomys
Anand Raman - MSFT
Seraphino
dHan61
Rav3n
Mike P B
ElectricBliss
Ben Tsui
mendi
Patrick.I
mnice
Corey Furman
foobarX
sachin.dubey
Jassim Rahma
Only Title

chaza's Q&A profile

  • Visual C++ Can you share global variables between a DLL and a calling program?

    Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it. DFPercush wrote: Instead of using global variables for file paths etc, use thread local storage. Windows has a set of functions beginning with "Tls*" that manage storage specific to one thread. Your code doesn't look multithreaded to me, so therefore this would be, for all intents and purposes, a global storage space. Use your API text viewer in the start menu > visual basic tools folder, grab the Tls* functions and CopyMemory, and use them to retrieve the value you need in VB. (This is simply a parser for WIN32API ...Show All

  • Visual C++ 1st TIME USER, please help me to install the STK in Visual Studio 2005

    Hello everyone, sorry if this is a stupid question, but I'm VERY new to this. Have been bumbling through C++ at uni (it's a module on my Sound Tech course) but now it's Xmas holidays and there are no tutors to pester! I've managed to get hold of Visual Studio 2005 and I need to know how to get the STK file working with it. My plan is to build a very simple interface that allows the user to manipulate resonance, filter cutoff, LFO speed etc of a sample they can input. Kind of like a Kaos pad, but without the nice touch screen! Anyway, ANY help would be really appreciated. Thanks, Matt I have no idea what to tell you. Can you be specific about what you don't understand then we might be ab ...Show All

  • Software Development for Windows Vista Microsoft Cautions Developers About Visual Studio/Vista Conflicts ?

    http://ddj.com/dept/windows/193100342;jsessionid=QVOCPBYPBOZZGQSNDLOSKH0CJUNN2JVN It means we cannot use Visual Studio 6.0 Is this True it may well be. VS6 is already old and outdated...best to move to bigger and better things. You can use the FREE Express editions of .NET, with some limitation of course but not time constraints. About time you moved on up ;-) ...Show All

  • Smart Device Development How to connect to GPRS network from code?

    When Internet Explorer is ran on my mobile phone it automatically connects to Orange GPRS network and I see a popup/hint on top of the screen saying "Connecting to GPRS...". I want to do the same in my application. Detect somehow that the network if available and just connect to it. I've looked in settings and iI think this is somehow connnected to modem connections but still I dont know how to start them from code. Any help/link will be appreciated. When Internet Explorer is ran on my mobile phone it automatically connects to Orange GPRS network and I see a popup/hint on top of the screen saying "Connecting to GPRS..." ...Show All

  • Visual C# How to know Is Serializable?

    How can I know whether a type(e.g. BindingList<>) is Serializable, both in design time and run time Thanks The type can be serializable in two way Aautomatic by using [Serializable] or manually by implementing  ISerializable Interface so to check for  a type is it serializable or not there are two ways 1-using reflection (i think it will work for both types of serialization  but i do not test it) BindingList <yourType> tee = new BindingList <yourType>(); Type tc = tee.GetType(); if (( tc.Attributes & TypeAttributes .Serializable) != 0 ) { MessageBox .Show( "Serializable" ); } else { MessageBox .Show( "Not Serializable" ); } s ...Show All

  • SQL Server Providing database to client without SQL Server

    Hi I'm new to SQL Server but not to VB or Access, but would like to design a database in SQL Server for a set of users who currently do not have SQL Server loaded on any of their networked machines or their Network server. Can I design a database on my machine which has SQL Server and then load it all onto their server without them having SQL Server, or do I have to load SQL Server onto their server Thanks for any help. Hi, The could use SQL Server 2000 MSDE or SQL Server 2005 Express Edition. Both are free. That's the way to go Regards, Worf ...Show All

  • Windows Forms treeview click event

    hy Im very new to c# and now im making a browser. In my browser i have a favorites panel with a treeview. Now i have found the MouseClick event from the treeview but how do i obtain wich node is clicked I now use this code: private void treeView1_MouseClick( object sender, MouseEventArgs e) { try { node = treeView1.GetNodeAt(MousePosition.X, MousePosition.Y).ToString(); } catch { } this .NavigateToUrl(node); } but it seems that var node is empty at all times! Can anyone help me with this Thanks in advance! from the lichtning bolt i did already know but the problem was that i need to know wich node is being clicked withoud having a mouse_click event for every node. so what i need is a node id or something ...Show All

  • Visual C# rsa public key for c# .net

    Hi. I have a problem. I try to traslate a Public Key Rsa to a valid format to use in ImportCspBlob. but this code don't work. I find solucion on internet but don't work. http://www.mcse.ms/archive113-2005-6-1681898.html I don't know format for public key rsa for .net and i don't find documentacion. I use framework 2.0 visual studio 2005 I don't know what i need to do... help me please! using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace ConsoleApplication2 { class Program { static void Main( string [] args) { string RsaResult = null ; //questa e la loro chiave rsa pubblica string PublicKeyRsa = &q ...Show All

  • Architecture Full multi-tier ASP.NET code generation solution?

    Any recommendations ...for a full multi-tier ASP.NET code generation solution/tool/tool set Thank you, Michael. We're using CodeSmith together with the .netTiers templates at the moment. The templates themselves aren't too difficult to tweak, so your not stuck with the defaults (although there are enough options to choice from initially). I'm also looking at http://subsonicproject.com/ , which is getting some attention lately... ...Show All

  • Visual Basic open unbound form and fill with data

    I have a form that has several unbound textboxes, I use it for entring new data only. I tried the below to open the form and populate the textboxes and it didnt work Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim EDFRow As DataSet1.EDFRow If Me .ListBox1.SelectedItems.Count = 1 Then EDFRow = DataSet1.EDF.FindByEName( Me .ListBox1.SelectedValue.ToString) My .Forms.EmployeeSimple.ShowDialog() My .Forms.EmployeeSimple.ENameTextBox.Text = EDFRow.EName etc. didnt post all lines, but its basically the same, just different columns Exit Sub End If End Sub I tried a msgbox to return EDFROW.EName and it was the name ...Show All

  • SQL Server The semaphore timeout period has expired

    Hello Everyone, I've recently had some problems with my Analysis Server 2005. It's service has stopped and when I try to restart it, I get the error below. The service cannot be started: The following system error occurred: The semaphore timeout period has expired. . For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . " Does anyone have an idea on what's causing this Has anyone had any experience with this particular problem Thanks, Joseph Were you able to figure out what is going on Would rebooting your maching helps Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual Studio Express Editions how do i mute/unmute system sound?

    1.how do i control the level of the "wave" volume and the "volume control" (as it appears in the windows volume controler) (C:\windows\System32\sndvol32.exe). 2.In addition how can i controll the main sound stream controler (the sound controll that changed by a laptop keyboard) i think that the waveOutSetVolume , is what i am looking for. however it uses an API function and it's code example is in C++/C. where can i find an example how to use waveOutSetVolume function in VB.net tanx for the help.. ...Show All

  • Software Development for Windows Vista About windowless mode

    I feel difficult to realize windowless mode. In VS2005, I developed a MFC-dialog based application. On the dialog desk, I put a Picture Control object, and set a membership variable of it, CStatic m_hVideoWindow. My objective was puttting any captured video in this window. I define: CComPtr<IGraphBuilder> pGB; CComPtr<IBaseFilter> pVmr; CComPtr<IVMRFilterConfig9> pFilterConfig; CComPtr<IVMRWindowlessControl9> pWC; CComPtr<ICaptureGraphBuilder2> pBuild; CComPtr<IMediaControl> pMC; and initialize: HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void **)&pGB ); hr = CoCreateInstance(CLSID_VideoMixingRender ...Show All

  • .NET Development SecurityException, why?

    Hi, I am trying to use IIOPChannel.dll from http://iiop-net.sourceforge.net. It is strongly named assembly. I have another strongly named assembly which calls IIOPChannel.dll. So the order is: program -> mydll.dll -> IIOPChannel.dll. The problem is that I get a Security Exception when mydll.dll tries to link IIOPChannel.dll: SecurityException.Action = LinkDemand. Message: That assembly does not allow partially trusted callers. When I call IIOPChannel.dll directly from my program there is no SecurityException. Unfortunately that is not an option as mydll.dll is required. I have given the assemblies full trust by using caspol: caspol -af mydll.dll. I have also tried setting the AllowPartiallyTrustedCallers attribute on the IIOPchannel. ...Show All

  • SQL Server 2 inserts in 1 stored procedure?

    How do I include 2 insets in 1 stored procedure code i have is: ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= CREATE PROCEDURE signUp -- Add the parameters for the stored procedure here @username varchar ( 24 ), @password varchar ( 32 ), @firstname varchar ( 30 ), @lastname varchar ( 30 ), @address varchar ( 50 ), @town varchar ( 20 ), @city varchar ( 20 ), @postCode varchar ( 8 ), @email varchar ( 60 ), @dob datetime ...Show All

©2008 Software Development Network