Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
_

_Q12_

@_Q12_
About
Posts
159
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    Update: This is after 5 days. I didn't do anything important these days, I believe I installed 1 or 2 software and 1 or 2 games, and I guess at least 10 restarts of PC in the last 5 days from when I installed that patch from you. - Today I input the usb into my phone again, and for my surprise it appear on the phone "usb PC connection" and on my actual PC, in device manager the things are the same, nothing appear or dissapeared, but the content of the phone is now visible!!! Before, when I come with the problem, nothing was visible inside the folder of the phone. It was all white. Now is back to normal. https://i.imgur.com/mBf0r3c.jpg[^] I have no logical explanation. It just worked. But why exactly? What is the trigger? Maybe that update was still updating my windows, after a couple of PC restarts? It's the only thing I can think. Welcome to the weirdness of windows world. I felt responsible to bring the good news to you, because like me, you are a technical guy who likes good results. Have a good day.

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    I re-checked on the official website and re-installed all my 'PRIME B450M-A' motherboard drivers. I always suspected these drivers are doing some monkey bizniz. But still, after the "Convenience Rollup" patch, after the oficial and slightly updated drivers of my motherboard, still no change in the bunch of errors in my Device Manager. It is exactly as before. No change. You did helped me. I start to believe is a motherboard driver problem that I have here. Specifically for w7. Although I did not had absolutly any kind of errors in Device Manager in my last (auto-updated) version of windows7. It is either: 1-Microsoft didnt share everything; or 2-the motherboard drivers concentrated on w10 and w11 but w7 left it float like a useless label. Damn im pissed off. This is my best guess the problem might be. I'll have to take the fight to them, if they will even answer to my questions... hmmm. But we reach some conclusions and for that I thank you! It's better for me to think in tandem with someone else. So thank you for sticking with me. If you think on some other solutions... please lay them down. It is always a good thing to have more options.

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    Ok, everything is now installed. I successfully installed "Windows 7 Convenience Rollup" patch. BUT - the problem still remain unresolved - the same errors in Device Manager. Nothing changed there. https://i.imgur.com/LMyROW1.jpg[^]

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    Alright, Progress !!! I can now install your new suggested patch ! I had to install first this: Windows6.1-KB3020369-x64.msu and now I dont get that error like before. Hehe... https://i.imgur.com/atH9VK6.jpg[^]

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    and here is a quote from the page I am reading right now: " Step Three: Download and Install the April 2015 “Servicing Stack” Update You can’t simply install the Convenience Rollup after installing Service Pack 1. You have to first install the April 2015 Servicing Stack Update first. Don’t ask us why; ask Microsoft. "

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    also here is the prove: https://i.imgur.com/klbjiJH.jpg[^]

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    I understand my friend, your best guess is all I need - really. Its how I do things as well. I know you're operating blind right now. So it is to be expected things will not work the first try. But with insistence and perseverance, the rock will crack. Now, to answer your question, yes I made a list in the OP (Original Post) with everything I have already installed in my OS at this point. And yes, SP1 is installed already. It's official name is/was: windows6.1-kb976932-x64 but is no more officially on the microsoft website. I had to get it from a backup made on some website. It has 903Mb in size. And I had to restart like 2 or 3 times while this update was doing its bizniz. WIthout it, I couldnt update (original)IE8 to IE11. I also look for your suggestion and I might have an answer to how to install this new "Windows 7 SP1 Convenience Rollup" patch. Im still reading it right now, and I definetly see some steps before this patch to work. Here is what I find: How to Update Windows 7 All at Once with Microsoft’s Convenience Rollup[^] We will get there... I know we will.

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    (maybe it helps) Here is my PC specs: https://i.imgur.com/84wubYk.jpg[^]

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    Thank you very much for your fast response and for this new patch that I never heard of it. I downloaded it, I try to install it, and I get this: https://i.imgur.com/OWkxhcq.jpg[^] My impression is that I have to install something else before this thing to work.

    C# help question csharp c++ announcement

  • I can not see inside my phone directory branch when I plug it into my PC
    _ _Q12_

    - First of all, I am sorry to post this very unrelated question here, but I literally have no idea where I can get a normal answer on the web, for this kind of problem. If you can indulge me, and try to 'debug' this problem with me, would be awesome. I will understand if nothing can be done, when we will reach that point. I personally reached that point myself. That's why I come to you, my old c# friends. - So... - Because win7 is no more taken care by Microsoft, all its auto-updates are no more. I clearly remember after I freshly installed a new copy of windows7, the auto-updates were doing their magic and all my usb drivers were functioning with one single click. Now, that 1 click function is no more. Now, all my usb drivers are errors in Device manager. And what is worse than that, something in windows, is not recognizing the device usb even after I installed its original driver. Why? Remember those (KB2908783XXXXX) packages? from Microsoft ? I believe it is a package somewhere, specifically for windows7 that is taking care of this USB problem I have here. But I dont know which it is and it would be the easy fix with it. - I was as thorough as I could. I already installed everything listed here manually: Nvidia drivers and motherboard drivers also updated to their latest versions. 1. windows6.1-kb976932-x64.exe (Windows 7 and Windows Server 2008 R2 Service Pack 1 (KB976932)(is officially removed from Microsoft website)) but I install it offline. 2. Microsoft .NET Framework 4.8 for Windows 7.exe 3. IE11 (originally w7 comes with IE8) so IE11 is an update to that. And I managed to update it, manually. 4. a bunch of: visual c++ redist 2010 to 2015 sp1 x86.exe - I still got a bunch of errors in Device Manager: - I had a nasty error in Device Manager for "MTP" (Media Transfer Protocol) and I believe I solve it by installing: AMD USB 3.0 hub and host controller driver for Windows 7 (64-bit) Now in Device manager there is no MTP error present. But Im not completly sure though. I am skeptical. I installed the latest version of it, from 2022, that's why im skeptical. Even with it installed, I can not see the directory tree inside the Phone as I was able to see before. And it should ! - Now I have a "CDC Serial" error left. I actually find an 'Android_CDC_Driver' and from that package I could install the actual driver which is this file: "usb2ser_Win7.inf". I install it, it worked, I got rid of the "CDC Serial" error in the Device Manager, I actually got a new Port in there. All seem to be fine, r

    C# help question csharp c++ announcement

  • textbox update
    _ _Q12_

    i figure out the solution, but i'm still curious whats your resolve though.

    C# help tutorial question announcement

  • textbox update
    _ _Q12_

    Inside a textbox i add many lines of data, ended with a newline(\r\n) for each of it. For example: Aaa Bbb Ccc Each line must be read in a backgroundWorker1_DoWork event. Basically, is a time delay of a couple of seconds between jumping to the other line to be read and processed. My problem is this: - If i add a new line, WHILE the DoWork is running, the textbox.List.lenght is bigger by 1. What should LOAD that updated List, and pass the next line consecutively, to the worker? At this point i am blank. What i did so far... I inverted the list why? because my processing is not disturbed by each new line added on top, but is accumulating lines at the end, maintaining the lines numbers and contents when it jumps to the next line.

            list1.Clear(); label1.Text = "";
            list1.AddRange(textBox1.Lines);
            list1.Reverse();
            for (int i = 0; i < list1.Count; i++)
            {
                label1.Text += list1\[i\] + nl;
            }
    

    And now the output is: Ccc Bbb-updateLine Aaa a1-nl a2-nl One solution to updating lines by mistake, and avoid re-processing them, is to completely erase the completed "worked" lines from the List and update somewhere else the finished lines.

    C# help tutorial question announcement

  • Lists basics
    _ _Q12_

    im an artist and i code for fun. I just encounter a strange problem in my code and i had to debug it a lot to find this little bug. Not a bug per say, but more like my way of using things (probably wrong). But now is an eye opener.

    //What is the diference between these 2 codes?
    List block = new List();
    List temp = new List();
    void SomeEvent
    {
    //code1
    block.Clear();
    block.AddRange(temp);

    //code2
    block = temp;
    }

    I wanted the text from [temp] list to copy into [block] list. My usual way of doing it, was as in code2. But it seems is a bad way. Because when temp is cleared, also the block is cleared, like block is a pointer to the temp. I only wanted a temporary transfer of data between the 2 lists and not a permanent attachment. Yah... can you explain the real difference? I had to learn it the hard way i suppose. :)

    C# help question debugging

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    { My AWESOME friend, Dave Kreskowiak! } Here it is, i find my .. cookie! HOOOOOIIIII this is awesome. Sorry for the gray squares but as i promised, i will keep secret the website and my password on it :) heh. image: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/281c49f0-e874-4b83-bff6-9bc6b8526d42/dddeofe-237364f3-c452-4dac-aa60-d30061e27a8d.jpg/v1/fill/w_1485,h_538,q_70,strp/dbenzin83_ziub_6_copy_1_by_q12a_dddeofe-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTA4NyIsInBhdGgiOiJcL2ZcLzI4MWM0OWYwLWU4NzQtNGI4My1iZmY2LTliYzZiODUyNmQ0MlwvZGRkZW9mZS0yMzczNjRmMy1jNDUyLTRkYWMtYWE2MC1kMzAwNjFlMjdhOGQuanBnIiwid2lkdGgiOiI8PTMwMDAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.ciBSaqH4cAj1SJBF6hisTxd9zmDJ4mYypGTCONhtMhY[^] But i must implore you to tell me how to inject it in c# WinApp code (not webapp)! (remember i have an older VS2010 too).So keep in mind these variables for me. - - -

    C# help question visual-studio com sysadmin

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    so its complicated, i get it. Though i made some progress. I went on : View Cookie Information | Progress Telerik Fiddler[^] Capture HTTPS traffic from Firefox | Progress Telerik Fiddler[^] and i start made these settings and that involved installing the addon to be able to see the cookies. I installed it and i can see the cookies now ! I succesfully exported and installed a certificate that was required. And now is awesome. hmmm. Now what? You did an excelent job so far. Thank you very much. You can hint me, give me a general idea how to proceed next in this Fidler software. No need to give me baby steps, i get its too much for you. But general and hopefully to the point directives you can easily give (if you say you know this stuff). I want these directives to know in what direction to concentrate my search, because until now im doing it blind. Thank you again for the help so far. I hope i will not get stuck.

    C# help question visual-studio com sysadmin

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    i just downloaded Fiddler Web Debugger, and im looking in it. It's a very powerful tool from the first view, but i have no clue how to find my cookie with it. So far, i can see it is auto detecting my pages that are open, but unfortunatly, it open a bunch of other (background? maybe) pages. I look in them but is a bit overwhelming. I also find this neat thing where i can target the window. I also see in Inspectors - Cookies button, but it says "This request did not send any cookie data", and i just log out and log in from the page. Hmmm. Tell me please how to use it in this little thing i want. And thank you so much for such a awesome tool. I love it, even i am very new to it and im looking like a cat at the OZN. :)

    C# help question visual-studio com sysadmin

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    Dave Kreskowiak, my friend. Is not in my routine to do clever checks ! Especially for web problems. But you suggested me to do a check just now. And i did it. And it seems the code is ok !!! I tested it with another website and it loads fine...hopefully not getting the error after a couple of accessing like i described it already, though i repeated the request a couple of times and it seems ok so far. Yah, shame on me not figuring this out so far. But other than the code working, i still remain with the problem unsolved on the original link (that i cant mention). - How to (generally speaking) check what a web page wants and implement it in c# after that? (avoiding this error i keep receiving?)

    C# help question visual-studio com sysadmin

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    I also suspect its a cookie problem, as you mention. The page is loading for awhile, like 5 times for example, but after the first occurrence of the error, it never loads anymore. I have to wait like more than 1 day/or a couple of hours, until i try again and the same story repeats. You mention about "examining the details of the request and any response" - give me a tutorial from which i can learn by myself how to do it, please. This web problem is not my strong point but i start to learn it through these errors i get, which sucks since it impedes my normal routine. ...Or summarize here yourself like a quick and dirty.

    C# help question visual-studio com sysadmin

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    the problem is like this: Sometimes, the content of webpage is read !!!!!!!!!!!!!!!!!! But after a couple of readings on the same page/or/website, it gets stuck on this error. It's like some cookie is activated or something, and remembers that i was there before and not alowing me to enter anymore. And it's true for any page from that website after this thing happen. The problem is i don't know how to find and set that cookie from c#. I strongly believe is a cookie. But if it's something else? Here is why i'm asking.

    C# help question visual-studio com sysadmin

  • request.GetResponse() - The remote server returned an error: (403) Forbidden
    _ _Q12_

    hi Luc, yes you are right. For awhile, some time ago, this little workaround that you are saying here worked fine. But after some 'internet' updates, like the [https] thing and more others that were very in shadow for me, but my code could sense them and i had to came back and guess, figure out, what he wants, until it worked again. And this thing you are specifying here was one of the problems i had to find and resolve. But it worked a limited time. It still works i suppose, but the cause of my recent error it seems to be other than this resolve here. I have windows7 This is what i have too, like you mentioned :

                //initialize WEBPAGE
                //Special wepage Reading  \[using System.Net;\]
                ServicePointManager.Expect100Continue = true;
                ServicePointManager.DefaultConnectionLimit = 9999;
                //in .NET 4.0, TLS 1.2 is not supported, but if you have .NET 4.5 (or above) installed on the system 
                //then you still can opt in for TLS 1.2 even if your application framework doesn’t support it. 
                //The only problem is that SecurityProtocolType in .NET 4.0 doesn’t have an entry for TLS1.2, 
                //so we’d have to use a numerical representation of this enum value:
                ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
                //instead of: ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls;
    
    C# help question visual-studio com sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups