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

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

Dietz

Member List

GaboG
hye_heena
FHolcomb
a23rd
asalcedo
A.Kahn
javasource
Srdjan
cdun2
ESTAN
meconnell
matthew lyden
Jon Abbott
SPWilkinson
Fahd
dagfari
SoundsGoodToMe
BlackMan890
kristmun
andrewness
Only Title

Dietz's Q&A profile

  • Visual Studio Tools for Office VSTO Outlook 2003 Add-in Deployment problems

    I've had a lovely little add-in now working on my machine for a while, and yet I haven't been able to deploy it successfully, not even on my own machine once. The program works absolutely perfectly on my machine when debugging and running through Visual Studio, but when deployment comes, the common error "Not loaded. A runtime error occurred during the loading of the COM Add-in" occurs. I've now created the simplest of simple add-ins, that simply display "HELLO WORLD" in an attempt to deploy that, to then further, deploy mine - still no look. The main blog I found which seemed to cover the most problems was http://weblogs.asp.net/mnissen/articles/427504.aspx I created the installer class that i read about ...Show All

  • .NET Development Problem with StreamReader

    I'm have a problem with the StreamReader that I can not figure out. As I have it set up right now, it will read through a text document. The text documents are created through our network backup utility. The problem that I am having is that when I run the program I am getting "Object Reference not set to an instance of an object". But if I open the text document manually and hit save without modifying the document at all, then the program run perfectly. Here is a copy of the code that is failing: Dim fs As New FileStream(FileAddress, FileMode.Open, FileAccess.Read, FileShare.Read) Dim reader As String = "" Dim streamreader As StreamReader = New StreamReader(fs) Do Until reader.StartsWith("Job Log") ...Show All

  • Visual Basic How to call a memory release ?

    Hi, I am currently building a VB.Net Application that uses Adobe Acrobat Professional 7.0. The problem is that the amount of memory used while the process is running always keeps growing. And I am sure that Acrobat is responsible for that. So I would like to know how to call a memory release in VB.Net. thanks for helping. Alex I dont want to release the object, it need to stay accessible. the thing is that while I'm using Acrobat, I open and I close a lot of PDF documents. But when I close the PDF documents, Acrobat doesn't seem to clean its memory because it keeps growing. For example I can use a PDF document of 1meg and after the process, the Acrobat Process will be using 200meg of Ram. What I want is to tell the OS (Wi ...Show All

  • Visual Studio 2008 (Pre-release) Querying list of available bitmap codecs

    Hi, Is there a way to query the list of available WPF bitmap codecs It'd be cool if I could make my application completely future-proof in regard to file formats. Thanks in advance, Rei I haven't run across anything built in. But, you can enumerate the available encoders like this: public static IEnumerable < BitmapCodecInfo > GetSupportedCodecs() { foreach ( Type type in typeof ( BitmapEncoder ).Assembly.GetTypes()) { if (type.IsSubclassOf( typeof ( BitmapEncoder )) && !type.IsAbstract && type.IsPublic) { if (type.GetConstructor( Type .EmptyTypes) != null ) { BitmapEncoder encoder = ( BitmapEncoder ) Activator .CreateInstance(type); ...Show All

  • Software Development for Windows Vista Recorded Video File Has no Length

    Working on Windows Mobile 5.0 Using as a base the sample "CameraCapture " from the PocketPC SDK. My code below. I call the function to start recording video. It creates the asf file specified but that file is unplayable on the phone. Windows Media Player (latest version and a few older versions I tried) cannot play it. Nor can VLC. When I look at the file in AVICodec (multimedia file analyzer) it says: C:\camcap.asf File : 140 KB (0.00 B), duration: 0:00:00, type: ASF, 0 audio stream(s), quality: 26 % Video : 140 KB, 0 Kbps, 0.0 fps, 176*144 (4:3), WMV3 = Windows Media Video 9, Supported I haven't specified any audiostreams so there shouldn't be any. 176x144 is proper resolution (as I haven't changed it, and from IAMStreamCo ...Show All

  • Visual C++ 'invisible' properties in dao namespace

    I am converting a project from VB.NET to C++/CLI. I have established a reference to the DAO 3.6 object library and am using the dao namespace. Everything appears to work fine except that the 'Parameters' property of the QueryDef class and the 'Fields' property of the TableDef class are not recognized. Attempting to use either result in a C2039 error. There is no problem accessing these properties in either VB or C#. Investigation reveals that the 'Parameters' and 'Fields' properties are the default properties of their respective classes. This problem has stopped the conversion project dead, so any suggestions would be appreciated. Brian, Thanx for your help, but I managed to find a solution. Here is the code (j ...Show All

  • .NET Development C# form isn't getting key strokes

    I developed a C# form in a C# project. From a C++ application I open the C# form (using Managed C++). The C# form works as expected, until I do a File Drag-and-Drop operation on it. After that the C# form quits responding to any key strokes. This prevents the user from doing things like entering text into a TextBox. If I close the C# form, then reopen it (without closing the C++ app) everything works fine. The output window shows no exceptions being thrown, and I'm also trapping "AppDomain.CurrentDomain.UnhandledException" and "Application.ThreadException" and writing the results to the Output window, and nothing is raising those events. Any ideas on why the form quits responding to key strokes thanks for any input! ...Show All

  • Smart Device Development problem with displaying LastError Message

    I am trying to get the lastwin32Error and display the details of that error in compact framework. this is the code I am using int lastError = Marshal.GetLastWin32Error(); Win32Exception myEx=new Win32Exception(lastError); MessageBox.Show(myEx.Message); But always it gives the Message as "Win32Exception". it doesn't give the real message corresponding to the nativeError code for example if I use 5(""Access is Denied") instead of lastError then it is given the "Win32Exception" not the "Access is denied" as the Message. Always it gives "Win32Exception" as the Message This code is working fine in .NET framework. But it is not working in .Ne ...Show All

  • Visual Basic Help with arrays

    Hi. Im basically new to visual basic and im enjoying it a lot. I have a project for my Computer Programming class. This is what I am trying to do but have no idea to start it, im pretty sure if I understood how to link the array to the if statements and the timer I would be ok. I am trying to make a game where there are 4 circles inside a picture box. When you click start game it goes to level 1 and the circles will flash a color in a randomized order. Once the computer is done making the pattern you will have to click the circles in the same pattern to pass the level. Its basically simon says. I really dont know much about arrays or much of what to do for this but im pretty good with if statements. If someone could just give me an example ...Show All

  • .NET Development Progressive Slow Down using XmlDocument

    I am writting an application that communicates with another local application through xml using TCP/IP. There is steady communication, and one application acts as a server sending and receiving contant results to and from the main interface. After a while simple methods invoked on an XmlDocument object take longer and longer. I was origrinally using one member XmlDocument in the class that was doing the work, so I changed it to use localized XmlDocument's inside each function of the class, and the progressive slow down persists. I have mapped the time it takes for specific lines of code and it grows at an exponential order. One line of code that does this is: p_obj_XmlDoc.LoadXml( "somexml string here"); Any ideas of what coul ...Show All

  • Visual Basic Application Icons

    Hello there, How do you actually make icons which will appear in the top-left hand corner ...The default one for me has become boring EDIT: I've got a problem again...When I created my Icon file through Visual Studio and saved it. I set my projects icon to be the icon I made but It comes up with some other Icon which was the default icon in the icon file before I deleted it. AliQ well either you can create them within the IDE I think (not sure about express editions so I apologise) by adding a new icon file (file > new > file > Icon file) alternatively you could maybe create it in say mspaint or some other graphics editor that allows you to create icons, then do the code above to load the icon for the appl ...Show All

  • SQL Server Data retrieval is much slower in RS than in management studio

    A call to a stored procedure completes in 13 seconds when ran from within SQL Server Management Studio. A report whose data source uses the same stored procedure can take as long as 10 minutes to run. The same parameter values are used in both the direct call and the report. The execution log says almost all of that time is spent on data retrieval. How could that be What might be the cause I'll give it a try. However, looking at the Parameters column from the ExecutionLog table confirms that the values are the same. The report has the same parameters as the stored proc and simply passes the its parameter values along to the stored proc. ...Show All

  • Visual FoxPro Why the datas from the .dbf file (table) on the form are not displayed?

    Hi all Need help very badly.. I purely have no idea where i go wrong. I'm trying to get the datas (such as CHEVSINSMZ 100,CHEVSINSMZ 100, CHEVSINSMZ 101, CHEVSINSMZ 102, etc) from the table (.dbf) display and then trim into "CHEVSINSMZ 100 & 101 & 102 itself. What i get the result on {.xdf_bl.value= OutPutSTring} of the form is (1)_________ when testing this form. Why cannot the datas be shown on the text field when searching for the value in the .dbf _-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-_ tnfjob is the name of the table. Jt_hblno is an attribute of the table (.dbf)in the form. It is like something that originally contains CHEVSINSMZ 100,CHEVSINSMZ 100, ...Show All

  • SQL Server SQL Express and Cross Table Query

    Is it possible to create cross table query via SQL Express 2005 since it's possible to do with MS Access Sample query in MS Access: TRANSFORM Count([tip]) AS [The Value] SELECT [sifra], [naziv] FROM naselja GROUP BY [sifra], [naziv] PIVOT [opstina] Is there any soultion how to make same or at least identical SQL query expression which will behive like MS Access ones Thanks! hi, not directly as the TRANSFORM/PIVOT provided by Access, but SQL Server 2005 now provides a PIVOT clause as well, as described in http://msdn2.microsoft.com/en-us/library/ms140308.aspx , http://msdn2.microsoft.com/en-us/library/ms177410.aspx but you can even have a look at dynamic transformation of crosstab query at the great old article by SQL S ...Show All

  • Visual J# Inaccessable Inner Classes in Java to J# Conversion

    I am trying to compile a large Java API in J# using VS 2003 and .NET 1.1 framework One problem I am running into is that Inner classes defined in a parent class are not visible when they are acessed through a derived class. Consider the following three Java files: Parent, Derived, and Application: Parent.java: package JavaAPI; public class Parent { public static class Inner { static int InnerInt; Inner() { InnerInt = 1; } } public Inner GetInner() { return new Inner(); } } -------------------------------------------------------------------------------------------------- Derived.java: package JavaAPI; public class Derived extends Parent { public void DoSomething() { /* OK Inner c ...Show All

©2008 Software Development Network