blange's Q&A profile
Visual Basic DLL Creation
I want to create a DLL for editing HEX Data I want that if it is referenced for editing any bytes you need write this line: WriteB (File , Seek, Byte) File= Files to open with FileStream ( Imports Sytem.IO is necessary obviously) Seek= For moving the pointer in a offset Byte= Byte to write in the Offset Now if i want to edit a byte i need write this code Dim str As New FileStream(OpenFileDialog1.FileName, FileMode.Open, FileAccess.ReadWrite) str.Seek(&H18D, SeekOrigin.Begin) str.WriteByte(CByte("&H" & ComboBox3.Text)) And i want to create a Function in the DLL Imports System.IO Public Class Class1 ' Start Function Public Function Nome_funzione As CallType ......... ...Show All
Visual Studio Team System Deleting Work Item Types
I created a custom work item and imported into Team Foundation Server. But I later decided not to use the new work item type. Is there a way to delete work item types so that they no longer show up in the Team -> Add Work Item list Thanks, Maggie It is not possible in V1. See http://blogs.msdn.com/buckh/archive/2006/02/24/delete-work-item-type.aspx ...Show All
Software Development for Windows Vista How to:change the appearence of toolboxitems
Hi all, For my custom activities I would like to change the default icon, description and name of the toolbox item. If possible I would also like to change the text in the tab under which the toolbox items appear (i.s.o. the project name). I think I have to overload the ActivityToolBoxItem class, but documentation doesn't help me enough. Question: I'm a right to overload the ActivityToolBoxItem class and where to find samples/documentation Thanks in advance, Ronald Hi all, Found a source of my problem: Visual Studio does automatically add the Activities to my toolbox when compiling the project, but it does not use my derived ActivityToolboxItem. When I right click the toolbox and select ...Show All
SQL Server Filter SQL Server data by user With an Micmicrosoft access front end
I am in the process of migrating 40 access databases to SQL Server and still use an access front end.All of these databases are Identical in structure and purpose. The goal is to centralize all of the databases backends into one Sql server database, but the data needs to stay seperated by each location(user). I was able to add a location feild to all of the tables to keep the data seperate. Then I imported three of the locations data for testing. I would like to know how could I filter the data on the access frontend, so that it would ask the user for their location and only allow the user to access, update, and delete that Locations data Hi, this is called row based security, a little sample for this would be the following procedure ...Show All
SQL Server Copying data between database tables
Hi. I need to move data from one database table to another across database instances. A simple example of the typical move would be: [CODE] INSERT into destination_db.dbo.table1 SELECT column1, column2 , column3 , column4 from source_db.dbo.table2 [/CODE] My options are: 1. Create an SSIS package to perform the move. 2. Create sprocs and schedule the data move as jobs. 3. Write .NET code using sprocs to perform the move. I'll have to move hundreds of thousands of records, so I want the option that provides the best performance. I'm guessing that option 3 will be the slowest. Thanks for the help! BSHOE wrote: To tell you the truth, you could just try it and find out which runs faster. ...Show All
Visual C# Read XML file
Hello all, I am quite new to c# and I have to read information from an xml file. I have tried the samples in the forum as well as the knowledge base and I just can't seem to get this to work. This is the file and what I need to do is get the values for each field (ex: userID-I need to get "Melody", ReportID-I need to get "1", etc) < xml version="1.0" encoding="utf-8" > <DAPak xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "> <userID>melody</userID> <userPW>lumpkin</userPW> <OutputFile>.\temp\3242.PDF</OutputFile> <ReportID>1</ReportID> <dtBegin>2006-08-1 ...Show All
Visual C# Console.Write problem
I want to punctuate every call to a certain procedure which is a part of a Class separate from the calling procedure Class with Console.Write ("."); statement. I need a simple dot positioned at a line. It is primarily a debug situation but still I want it to be compact. I want all the calls being marked on one line, not 200 lines or so. In the setup like this Console.Write ("."); refuses to do what I expected. It acts pretty much like Console.WriteLine ("."). In other words it feeds in end of the line charactes. Is there a way to avoid it Thanks. LOL , A lot of English mistakes in my post , I just saw the quoted version. Actually some times I'm in haste so it messes up. Sorry again and thanks ...Show All
Visual Studio Tools for Office Capturing the message when someone just clicks on the message....
I have an outlook add in and have figured out how to capture the message when someone opens and view a particular outlook message but can't figure out how to capture the message when someone just 'clicks' on the message in the view. thanks Ralph Hi Ralph, You may be able to get a faster response to your question on the Outlook programming forum at http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US . Thanks. ...Show All
SQL Server SP1 without "Process Update" and "Process Incremental" ?
Hi, I just set my AS2005 to SP1,and after that, I found that "Process Update" and "Process Incremental" is missing from the process option. Someone explained that diffrent object has diffrent process method, and I dount he never have a check about it. Just look at any process form, choose any object, dim, cube, no "Process Update" and "Process Incremental" there. thanks. Regards ProcessUpdate on a dimension IS slower than a ProcessFull. The statement, however, does not take into account that when you do a ProcessFull, you need to reprocess all of your partitions. But when you look at the dimension processing in isolation, ProcessUpdate will be slower. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. RenderMonkey import programmer problem
hi all, i tried use RenderMonkey example fx file. Below is Example fx code. //**************************************************************// // Effect File exported by RenderMonkey // // - Although many improvements were made to RenderMonkey FX // file export, there are still situations that may cause // compilation problems once the file is exported, such as // occasional naming conflicts for methods, since FX format // does not support any notions of name spaces. You need to // try to create workspaces in such a way as to minimize // potential naming conflicts on export. // // - Note that to minimize resulting name collisions in the FX // file, RenderMonkey will mangle names for passes, shaders // and fu ...Show All
Visual Studio Express Editions check language
Hey there!!. is there any way that I can check the languaje in a string.... for example:.. I have this string: "The dog is running on the green grass" and I need to make a function that checks if the string language is english or not.... now my questions is, can I use aome kind of dictionary or i have to use a database for checking ... please help!!. I don't want to write a lot of code... jeje.... an information page could help too, if someone knows!!. thanks for everything!!!. I'm smiling :) I wanted to give you something to do but with what you have it should be rather easy. Calculate the edit distance for each word in your sentence and take ...Show All
SQL Server cant connect to MSSQL Server Express 2005
Hi, i have installed MS SQL Server Express 2005 on my local machine. Also the managment Studio. I can connect to the MS SQL Server Express 2005 with my c# programm and with the mangament studio. I have in Windows/system32 the file ntwdblib.dll version 2000.80.2039.0. The TCP/IP and Ip Protocl are active. But i cant connect with php to the local MS SQL Server Express 2005. My php code is: mssql_connect('192.168.0.2,1433', 'martin', ''); I get the return code Warning : mssql_connect() [ function.mssql-connect ]: Unable to connect to server: 192.168.0.2,1433 in c:\Inetpub\wwwroot\Projekte\Skripte\mssql_connection.php on line 2 Does anyone know what i made wrong or i have forgotten mfg martin Hello, i use W ...Show All
.NET Development Time Zone Problem in Web Service
Hi All, I Am Using Vb.net and xml webservice.My Problem Is When i Call dataset Using Web service .The Date THAT IS Getting Is Differnent That was in database(Sql) If I Change my Time zone.I Have Web service in The Live Server .And My Client Application using vb.net .If I change the Time Zone in Client (PDA) There Value of Data is changing. My Code in Web service <WebMethod()> _ Public Function GetDS(ByVal strSQL As String) As DataSet Dim dt As New DataTable() Dim a(0) As String Dim dr As DataRow Try If conGlobal.State = ConnectionState.Closed Then conGlobal.Open() 'conGlobal.Open() DS.Reset() DA = New SqlDataAdapter(strSQL, conGlobal) DA.Fill(DS) DA.Dispose() conGlobal.Close() ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multi-core programming
Will the XNA Framework allow assigning threads to specific cores on the 360 Or more generally, how will XNA Framework interact with the 360's cores and hardware threads Xbox threading is somewhat different to on Windows. It is a much more explicit model: you tell the OS which core each thread should run on, and then the OS keeps out the way and leaves you to it. Wheras on Windows the OS is far more sophisticated (and heavyweight) doing all sorts of automatic allocation behind the scenes even if you don't specify an explicit affinity. We figured that since the underlying OS concepts are quite different, and anyone writing multithreaded code probably cares enough about performance that these dif ...Show All
Visual C# best way to write long text in web page
hi... I'm working on design help pages for my web site (which is prgrammed using C#)... these pages include long text (many paragraphs) and I want to ask about the best way to write the help content(static text) in these pages .... any suggestion Thanks in advance ... ...Show All
