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

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

dragon_ballz96

Member List

drtom
Johan Stenberg
amobrem
Dmitrit
Maxhec
PhillipWhelan
Amit Diwan
D.D.R.
HatePickingNames
Mr. Saint
M.S.P.Saami
Craig_tin
Bingqiang
rune711
RolandAbt
G3rTrunk3n
#Jonathan
C Kissinger
SusanC
first_
Only Title

dragon_ballz96's Q&A profile

  • .NET Development IP Address of Win Client

    Is there a way to determine what ip address will be used by a TcpClient In the old .Net to get the IP address some people would use: 1.  IPHostEntry hostInfo = Dns .GetHostByName( Dns .GetHostName());     Which is really bad because it's the DNS info not the real machine info or the IP being used. or 2.  from WMI (if installed)          SelectQuery NAQuery = new SelectQuery ("select * from Win32_NetworkAdapter");         ManagementObjectSearcher NASearcher = new ManagementObjectSearcher (NAQuery); Must guess which one will be used if yo ...Show All

  • Visual Basic Search function

    Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this you have to do some reading and check out some sample projects before starting building you application. Here is a great place to start: http://samples.gotdotnet.com/quickstart/winforms/ Among others you will find ho ...Show All

  • Windows Forms Threading, Binding

    Could someone tells me how can I update a List (of objects) from thread other then control's thread. I have a DataGridView bound to the list and when I update the list from other thread I got 'InvalidOperationException': Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on Regards, Vasil The DataGridView control has a method called Invoke on it (as does any control derived from the Control class). This method takes a Delegate as a parameter. The idea is to create a method (say UpdateDataGridView) which updates the DataGridView control as you desire ...Show All

  • Visual Basic Create Folder.

    Hi,  I want to create folder and subfolder from vb during runtime. Is it possible .  If anybody knows  please, help me. Bye,     Public Shared Function CreateDirectory (ByVal path As String ) As System.IO.DirectoryInfo Member of System.IO . Directory ...Show All

  • Visual Studio Express Editions Delete a textline containing a certain string from a text file .

    hello I am new to vb and i cant not seem to solve this problem .What i am tring to do is very simple . I have a simple form with a textbox and a button , i use it to add a line of code into a textfile. This works just fine . My problem is that i want to create a simple form that will delete a line that contains a certain string . i do not want to delete the whole file just a certain string . here is the code i use to add a line to the text file : Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My .Computer.FileSystem.WriteAllText( "c:\te ...Show All

  • Visual Studio Team System traceability in Team Foundation Server

    Does anyone know if TFS maintains traceability between requirements, specifications, testing, etc. you can create links between workitems either manually through team explorer, or automatically through event synchs when work items are created (eg when a scenario is created, a number of tasks are also automatically created to support the scenario, and links between these are auto-generated).  Once you have linked work items, then you can use these to create results such as traceability reports eg.  Alternatively, Project can also be used for this, as it has excellent tools for parent-child relations ...Show All

  • Visual Studio 2008 (Pre-release) Cursor from Geometry

    Hello, is it possible to convert Mouse Cursor from Geometry I have a bit of UI on my screen, which I'd like to turn to a Mouse Cursor. Thanks. I guess you could hide the mouse cursor and RenderTransform/Translate a DrawingBrush or Image in response to the MouseMove event... Not what you'd wish for, but doable... ...Show All

  • SQL Server SP not working correctly? when called from app

    Hi In a stored procedure the following code snippet 1 checks against duplicate data being inserted. I've tested it with snippet 2 and it works as expected. However, when the procedure is called from ASP.NET the check seems ineffective. I still get the error msg. The application uses a SqlDataSource with the following parameters. Any suggestions Thanks, Bakis. PS I want to ask a question on the ASP.NET forum .The login/pwd for this forum "get me in" to the .net forum in the sense that when I log in I see a logout link. I don't get an "ask a question" button though. Is there a separate screening for ea ...Show All

  • Visual C# TabControls and dynamic tabs

    I have an application that will dynamically add a tabbed page when the user clicks on certain objects in the application. I am successful at adding the tab but I cannot figure out how to call or access the new tabpage. the IDE does not seem to "intelli-type" it. I assume that this is because I dynamically created it. so how can I access and change the properties on the new tabpage Thanks for any assistance. From there how do I access the properites of a specific tab. I need to be able to access them individually. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Different results between REF and HAL devyce

    Hi! When executing my pixel shader, results are ok. But when I execute with my recent new grpahic card Quadro FX 3400/4400 results are rubbish. Exactly what happens is that! In my pixel shader I have these four operations Output.weights.x = (1-frac2.x)*(1-frac2.y);\n" // 1 float output Output.weights.y = frac2.x*(1-frac2.y); // 1 float output Output.weights.z = (1-frac2.x)*frac2.y; //1float output Output.weights.w = frac2.x*frac2.y; // 1float output Using Devyce_REF results are for example 0.5625 0.1875 0.1875 0.0625 that its exactly what i'm waiting for, but using my grpahic card the results are quite differents : 0.56175613 0.19117355 0. ...Show All

  • Visual Studio 2008 (Pre-release) Indigo and Classic VB

    We are tring to leverage WCF in some of our legacy (classic VB 6) apps by wrapping up a .Net component into a Com-Callable Wrapper. So far so good. The only problem is this - when running the app through the Visual Basic debugger in the IDE, it doesn't load the binding info found in appname.exe.config (which does work fine when running the .exe), so the web service calls fail. Any ideas You might also want to consider using the COM+ Integration feature of WCF. It might be able to save you from some manual wrapping tasks. ...Show All

  • .NET Development StrPtr in .NET

    Hi, I am making an API call NetFileEnum in an application that I am writing in C#. I have sample caode of this function been called in vb6. The problem I am having is that in vb6 the StrPtr function is called on a variable and then passed to the API. .NET however does not support this function. Can someone please help me with a way of getting around this or perhaps let me know where I can get sample c# code of the NetFileEnum call. Thanks in advance. K, in reply to the above, I managed to find some code that does the same in c# as the StrPtr function in vb6. After implementing it in my function however ...Show All

  • Visual Studio Tools for Office Some questions about ActionsPane

    Good morning, I have a few questions about the ActionsPane, but I think they won't be that difficult. But let me first explain my project: I need an Add-In for Word 2003, so when starting Word, a custom button should apear. This is already done. Now when click on the button my Actionspane solution should be shown. So I made another project with a Word Template. Now I have 2 projects and one calls the other. Maybe not the best solution but works for now. But now the problems began... And its also time for the questions:     1.     So I have a Word Template (.dot) with an Actionspane, but now I ned to add anot ...Show All

  • Software Development for Windows Vista recommend way to do IPC between app and service

    Hi guys, until now I've used (unnamed) Pipes to communicate between apps and services. For that to work I used OpenProcess(serviceProcessHandle, PROCESS_DUP_HANDLE), so that I can duplicate the pipe handle from the service to the app. This still works in Vista with UAP turned off - even from a guest account. But as soon as I turn UAP on, OpenProcess fails with "access denied" - even in elevated mode. I guess that's intended So since my old IPC method doesn't work now, anymore, I'd like to know which IPC method Microsoft now recommends to be used for communication between apps and services. Thanks! ...Show All

  • SQL Server Fail to run report made with report builder

    Hi, I am completely new to Report Builder. I created and deployed a report model and opened the Report Builder, and created a very simple report by dragging a table into the report. When running the report i get this error: Keyword not supported: 'provider'. ---------------------------- Cannot create a connection to data source 'dataSource1'. ---------------------------- An error has occurred during report processing. The data source name that I used in the report model was not called dataSource1. Approximately the same error is displayed if I deploy (save) the report to the report server: An error has occurred during report processing ...Show All

©2008 Software Development Network